Fix MangaConnectorId Chapters Cascade

This commit is contained in:
2025-07-22 22:34:38 +02:00
parent 24299a955a
commit 7e70288662
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");