1
0
mirror of https://github.com/bitwarden/server synced 2026-01-05 10:03:23 +00:00

increase group name length to 100

This commit is contained in:
Kyle Spearrin
2018-10-22 09:34:26 -04:00
parent 552bddc1a4
commit 22033d075d
3 changed files with 6 additions and 3 deletions

View File

@@ -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; }

View File

@@ -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,