Skip to content

Commit

Permalink
Added model snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLazarescu committed Mar 26, 2024
1 parent 484bb9a commit 35c79e3
Showing 1 changed file with 14 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ protected override void BuildModel(ModelBuilder modelBuilder)
b.Property<string>("Name")
.IsRequired()
.HasMaxLength(200)
.HasColumnType("nvarchar(200)");
.HasMaxLength(5000)
.HasColumnType("nvarchar(max)");
b.Property<int>("PageNumber")
.HasColumnType("int");
Expand All @@ -159,25 +159,30 @@ protected override void BuildModel(ModelBuilder modelBuilder)
b.Property<string>("Color")
.IsRequired()
.HasColumnType("nvarchar(max)");
.HasMaxLength(500)
.HasColumnType("nvarchar(500)");
b.Property<string>("Description")
.IsRequired()
.HasMaxLength(10000)
.HasColumnType("nvarchar(max)");
b.Property<string>("Icon")
.IsRequired()
.HasColumnType("nvarchar(max)");
.HasMaxLength(500)
.HasColumnType("nvarchar(500)");
b.Property<int>("IndexInParent")
.HasColumnType("int");
b.Property<string>("LastModified")
.IsRequired()
.HasColumnType("nvarchar(max)");
.HasMaxLength(500)
.HasColumnType("nvarchar(500)");
b.Property<string>("Name")
.IsRequired()
.HasMaxLength(5000)
.HasColumnType("nvarchar(max)");
b.Property<Guid?>("ParentFolderId")
Expand All @@ -200,7 +205,8 @@ protected override void BuildModel(ModelBuilder modelBuilder)
b.Property<string>("Color")
.IsRequired()
.HasColumnType("nvarchar(max)");
.HasMaxLength(500)
.HasColumnType("nvarchar(500)");
b.Property<int>("PageNumber")
.HasColumnType("int");
Expand Down Expand Up @@ -305,8 +311,8 @@ protected override void BuildModel(ModelBuilder modelBuilder)
.HasColumnType("datetime2");
b.Property<string>("Name")
.HasMaxLength(30)
.HasColumnType("nvarchar(30)");
.HasMaxLength(5000)
.HasColumnType("nvarchar(max)");
b.Property<string>("UserId")
.IsRequired()
Expand Down

0 comments on commit 35c79e3

Please sign in to comment.