feat: integration cloudfile
This commit is contained in:
@@ -12,7 +12,9 @@ public class DocumentConfiguration : IEntityTypeConfiguration<Document>
|
||||
e.HasKey(d => d.Id);
|
||||
e.Property(d => d.Title).HasMaxLength(300).IsRequired();
|
||||
e.Property(d => d.Type).HasConversion<string>().HasMaxLength(20);
|
||||
e.Property(d => d.Content).HasColumnType("text");
|
||||
e.Property(d => d.ContentHash).HasMaxLength(64);
|
||||
e.Property(d => d.ContentSize);
|
||||
e.Property(d => d.UpdatedContentAt);
|
||||
|
||||
e.HasIndex(d => new { d.ProjectId, d.ParentId });
|
||||
e.HasIndex(d => d.ParentId);
|
||||
|
||||
Reference in New Issue
Block a user