Fix the sql schema #6

Merged
Wesser merged 9 commits from refactor/domain into release/v1.0.0 2024-01-26 07:48:14 +03:00
Showing only changes of commit 9493d4340f - Show all commits

View File

@ -20,6 +20,6 @@ public class LectureHallConfiguration : IEntityTypeConfiguration<LectureHall>
.HasOne(l => l.Campus)
.WithMany(c => c.LectureHalls)
.HasForeignKey(d => d.CampusId)
.OnDelete(DeleteBehavior.Cascade);
.OnDelete(DeleteBehavior.Restrict);
}
}