feat: refine content calendar experience
This commit is contained in:
@@ -13,6 +13,11 @@ public static class CommentModelConfiguration
|
||||
comment.Property(x => x.AuthorDisplayName).HasMaxLength(256).IsRequired();
|
||||
comment.Property(x => x.AuthorEmail).HasMaxLength(256).IsRequired();
|
||||
comment.Property(x => x.Body).HasMaxLength(4000).IsRequired();
|
||||
comment.Property(x => x.AttachmentFileName).HasMaxLength(256);
|
||||
comment.Property(x => x.AttachmentContentType).HasMaxLength(128);
|
||||
comment.Property(x => x.AttachmentBlobContainerName).HasMaxLength(128);
|
||||
comment.Property(x => x.AttachmentBlobName).HasMaxLength(512);
|
||||
comment.Property(x => x.AttachmentBlobUrl).HasMaxLength(1024);
|
||||
comment.Property(x => x.CreatedAt)
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasDefaultValueSql("CURRENT_TIMESTAMP");
|
||||
|
||||
Reference in New Issue
Block a user