mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38:27 -04:00
Reverted PK fix for patron as it's causing migration to fail
This commit is contained in:
@@ -431,8 +431,7 @@ public abstract class NadekoContext : DbContext
|
||||
modelBuilder.Entity<PatronUser>(pu =>
|
||||
{
|
||||
pu.HasIndex(x => x.UniquePlatformUserId).IsUnique();
|
||||
pu.HasKey(x => x.Id);
|
||||
pu.HasIndex(x => x.UserId).IsUnique(false);
|
||||
pu.HasKey(x => x.UserId);
|
||||
});
|
||||
|
||||
// quotes are per user id
|
||||
|
Reference in New Issue
Block a user