mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 09:48:26 -04:00
fix: revert patron migration temporarily as ef core is bugging out hard
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user