Add specific weeks of disciplines #10
@ -13,7 +13,7 @@ public class LessonConfiguration : IEntityTypeConfiguration<Lesson>
|
|||||||
builder.HasIndex(l => l.Id).IsUnique();
|
builder.HasIndex(l => l.Id).IsUnique();
|
||||||
builder.Property(l => l.Id).HasColumnType("INTEGER").IsRequired().ValueGeneratedOnAdd();
|
builder.Property(l => l.Id).HasColumnType("INTEGER").IsRequired().ValueGeneratedOnAdd();
|
||||||
|
|
||||||
builder.Property(l => l.IsEven).HasColumnType("BIT").IsRequired();
|
builder.Property(l => l.IsEven).HasColumnType("BOOLEAN").IsRequired();
|
||||||
builder.Property(l => l.DayOfWeek).HasColumnType("INTEGER").IsRequired();
|
builder.Property(l => l.DayOfWeek).HasColumnType("INTEGER").IsRequired();
|
||||||
builder.Property(l => l.PairNumber).HasColumnType("INTEGER").IsRequired();
|
builder.Property(l => l.PairNumber).HasColumnType("INTEGER").IsRequired();
|
||||||
builder.Property(l => l.IsExcludedWeeks).HasColumnType("BOOLEAN");
|
builder.Property(l => l.IsExcludedWeeks).HasColumnType("BOOLEAN");
|
||||||
|
Loading…
Reference in New Issue
Block a user