Skip to content

Commit

Permalink
Merge pull request #5470 from dfe-analytical-services/bugfix/EES-5632
Browse files Browse the repository at this point in the history
EES-5632 Updating `ContentDbContextModelSnapshot`
  • Loading branch information
benoutram authored Dec 16, 2024
2 parents 20b557b + c67d08f commit 449fea2
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1751,7 +1751,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
modelBuilder.Entity("GovUk.Education.ExploreEducationStatistics.Content.Model.MethodologyRedirect", b =>
{
b.HasOne("GovUk.Education.ExploreEducationStatistics.Content.Model.MethodologyVersion", "MethodologyVersion")
.WithMany()
.WithMany("MethodologyRedirects")
.HasForeignKey("MethodologyVersionId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
Expand Down Expand Up @@ -1892,7 +1892,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
modelBuilder.Entity("GovUk.Education.ExploreEducationStatistics.Content.Model.PublicationRedirect", b =>
{
b.HasOne("GovUk.Education.ExploreEducationStatistics.Content.Model.Publication", "Publication")
.WithMany()
.WithMany("PublicationRedirects")
.HasForeignKey("PublicationId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
Expand Down Expand Up @@ -1933,7 +1933,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
modelBuilder.Entity("GovUk.Education.ExploreEducationStatistics.Content.Model.ReleaseRedirect", b =>
{
b.HasOne("GovUk.Education.ExploreEducationStatistics.Content.Model.Release", "Release")
.WithMany()
.WithMany("ReleaseRedirects")
.HasForeignKey("ReleaseId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
Expand Down Expand Up @@ -2192,20 +2192,26 @@ protected override void BuildModel(ModelBuilder modelBuilder)
b.Navigation("MethodologyContent")
.IsRequired();

b.Navigation("MethodologyRedirects");

b.Navigation("Notes");
});

modelBuilder.Entity("GovUk.Education.ExploreEducationStatistics.Content.Model.Publication", b =>
{
b.Navigation("Methodologies");

b.Navigation("PublicationRedirects");

b.Navigation("ReleaseVersions");

b.Navigation("Releases");
});

modelBuilder.Entity("GovUk.Education.ExploreEducationStatistics.Content.Model.Release", b =>
{
b.Navigation("ReleaseRedirects");

b.Navigation("Versions");
});

Expand Down

0 comments on commit 449fea2

Please sign in to comment.