mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 09:48:26 -04:00
fix: Fixed UserId patron table error
fix: Added au and kz countries as en and kz languages respectively fix: Strikeout is thinner now on plants
This commit is contained in:
@@ -3,6 +3,7 @@ namespace NadekoBot.Db.Models;
|
||||
|
||||
public class PatronUser
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string UniquePlatformUserId { get; set; }
|
||||
public ulong UserId { get; set; }
|
||||
public int AmountCents { get; set; }
|
||||
|
@@ -618,7 +618,7 @@ public abstract class NadekoContext : DbContext
|
||||
modelBuilder.Entity<PatronUser>(pu =>
|
||||
{
|
||||
pu.HasIndex(x => x.UniquePlatformUserId).IsUnique();
|
||||
pu.HasKey(x => x.UserId);
|
||||
pu.HasIndex(x => x.UserId).IsUnique(false);
|
||||
});
|
||||
|
||||
// quotes are per user id
|
||||
|
Reference in New Issue
Block a user