Fixed user reference problem in event creation

This commit is contained in:
2026-01-19 20:39:18 +01:00
parent e937cecc81
commit dd1cfc15e5
6 changed files with 15 additions and 13 deletions

View File

@@ -46,7 +46,7 @@ namespace SpotiParty.Web.Migrations
b.HasIndex("host");
b.ToTable("Events");
b.ToTable("Events", (string)null);
});
modelBuilder.Entity("SpotiParty.Web.Models.User", b =>
@@ -75,7 +75,7 @@ namespace SpotiParty.Web.Migrations
b.HasKey("UserId");
b.ToTable("Users");
b.ToTable("Users", (string)null);
});
modelBuilder.Entity("SpotiParty.Web.Models.Event", b =>