fix: revert patron migration temporarily as ef core is bugging out hard

This commit is contained in:
Kwoth
2024-11-03 08:39:37 +00:00
parent 2b301c0aab
commit ee0a28afab
7 changed files with 87 additions and 7072 deletions

View File

@@ -618,7 +618,7 @@ public abstract class NadekoContext : DbContext
modelBuilder.Entity<PatronUser>(pu =>
{
pu.HasIndex(x => x.UniquePlatformUserId).IsUnique();
pu.HasIndex(x => x.UserId).IsUnique(false);
pu.HasKey(x => x.UserId);
});
// quotes are per user id