Fix MangaConnectorId Chapters Cascade

This commit is contained in:
2025-07-22 22:34:38 +02:00
parent c044532564
commit c5689557b3
5 changed files with 10 additions and 5 deletions

View File

@@ -441,7 +441,7 @@ namespace API.Migrations.Manga
b.HasOne("API.Schema.MangaContext.Chapter", "Obj")
.WithMany("MangaConnectorIds")
.HasForeignKey("ObjId")
.OnDelete(DeleteBehavior.NoAction)
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Obj");