We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afb8824 commit 10b60e2Copy full SHA for 10b60e2
src/LinkDotNet.Blog.Infrastructure/Persistence/Sql/Mapping/BlogPostConfiguration.cs
@@ -17,6 +17,7 @@ public void Configure(EntityTypeBuilder<BlogPost> builder)
17
builder.Property(x => x.ShortDescription).IsRequired();
18
builder.Property(x => x.Likes).IsRequired();
19
builder.Property(x => x.IsPublished).IsRequired();
20
+ builder.Property(x => x.Tags).HasMaxLength(2096);
21
22
builder.HasIndex(x => new { x.IsPublished, x.UpdatedDate })
23
.HasDatabaseName("IX_BlogPosts_IsPublished_UpdatedDate")
0 commit comments