diff options
Diffstat (limited to 'backend/Elements.Data/Migrations/ApplicationDbContextModelSnapshot.cs')
| -rw-r--r-- | backend/Elements.Data/Migrations/ApplicationDbContextModelSnapshot.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/backend/Elements.Data/Migrations/ApplicationDbContextModelSnapshot.cs b/backend/Elements.Data/Migrations/ApplicationDbContextModelSnapshot.cs index 7e27940..32bb909 100644 --- a/backend/Elements.Data/Migrations/ApplicationDbContextModelSnapshot.cs +++ b/backend/Elements.Data/Migrations/ApplicationDbContextModelSnapshot.cs @@ -173,11 +173,13 @@ namespace Elements.Data.Migrations modelBuilder.Entity("Elements.Data.Models.Element", b => { - b.HasOne("Elements.Data.Models.User", null) + b.HasOne("Elements.Data.Models.User", "User") .WithMany("Elements") .HasForeignKey("UserId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); + + b.Navigation("User"); }); modelBuilder.Entity("Elements.Data.Models.Recipe", b => |
