mirror of
https://github.com/bitwarden/server.git
synced 2025-04-12 08:38:13 -05:00
increase group name length to 100
This commit is contained in:
parent
552bddc1a4
commit
22033d075d
@ -9,7 +9,7 @@ namespace Bit.Core.Models.Api
|
||||
public class GroupRequestModel
|
||||
{
|
||||
[Required]
|
||||
[StringLength(50)]
|
||||
[StringLength(100)]
|
||||
public string Name { get; set; }
|
||||
[Required]
|
||||
public bool? AccessAll { get; set; }
|
||||
|
@ -1,7 +1,7 @@
|
||||
CREATE TABLE [dbo].[Group] (
|
||||
[Id] UNIQUEIDENTIFIER NOT NULL,
|
||||
[OrganizationId] UNIQUEIDENTIFIER NOT NULL,
|
||||
[Name] NVARCHAR (50) NOT NULL,
|
||||
[Name] NVARCHAR (100) NOT NULL,
|
||||
[AccessAll] BIT NOT NULL,
|
||||
[ExternalId] NVARCHAR (300) NULL,
|
||||
[CreationDate] DATETIME NOT NULL,
|
||||
|
@ -1,4 +1,7 @@
|
||||
IF OBJECT_ID('[dbo].[UserCollectionDetails]') IS NOT NULL
|
||||
ALTER TABLE [dbo].[Group] ALTER COLUMN [Name] NVARCHAR (100) NOT NULL
|
||||
GO
|
||||
|
||||
IF OBJECT_ID('[dbo].[UserCollectionDetails]') IS NOT NULL
|
||||
BEGIN
|
||||
DROP FUNCTION [dbo].[UserCollectionDetails]
|
||||
END
|
||||
|
Loading…
x
Reference in New Issue
Block a user