Fixed dockerfiles and fixed chapter upserts
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-07-17 10:16:32 -04:00
parent d98324c11e
commit e4529e11c0
15 changed files with 659 additions and 12 deletions

View File

@@ -176,6 +176,8 @@ namespace DBConnection.Migrations.PostgresSql
b.HasKey("Id");
b.HasIndex("Email");
b.ToTable("Users");
});
@@ -214,11 +216,13 @@ namespace DBConnection.Migrations.PostgresSql
modelBuilder.Entity("Treestar.Shared.Models.DBDomain.Chapter", b =>
{
b.HasOne("Treestar.Shared.Models.DBDomain.Novel", null)
b.HasOne("Treestar.Shared.Models.DBDomain.Novel", "Novel")
.WithMany("Chapters")
.HasForeignKey("NovelUrl")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Novel");
});
modelBuilder.Entity("Treestar.Shared.Models.DBDomain.Novel", b =>