Migrated database changes
This commit is contained in:
@@ -16,7 +16,7 @@ public sealed class Project : IEntityTypeConfiguration<Entities.Project>
|
||||
builder.Property(f => f.EndedAt).IsRequired(false);
|
||||
builder.Property(f => f.Name).IsRequired().HasMaxLength(256);
|
||||
builder.Property(f => f.Description).IsRequired().HasMaxLength(1024);
|
||||
builder.Property(f => f.StartedAt).IsRequired().HasDefaultValue(ApprovalStatus.Pending);
|
||||
builder.Property(f => f.Status).IsRequired().HasConversion<int>().HasDefaultValueSql("1");
|
||||
|
||||
builder.HasOne(f => f.Programme)
|
||||
.WithMany(f => f.Projects)
|
||||
|
||||
Reference in New Issue
Block a user