added addrolereward and removerolereward events for .notify
added .notify with no params showing events with descriptions added .winlb updated discord.net, redid migrations
This commit is contained in:
parent
f8eb585093
commit
29bac7739d
31 changed files with 635 additions and 219 deletions
src/EllieBot/Db
|
@ -164,13 +164,18 @@ public abstract class EllieContext : DbContext
|
|||
|
||||
#region UserBetStats
|
||||
|
||||
modelBuilder.Entity<UserBetStats>()
|
||||
.HasIndex(x => new
|
||||
{
|
||||
x.UserId,
|
||||
x.Game
|
||||
})
|
||||
.IsUnique();
|
||||
modelBuilder.Entity<UserBetStats>(ubs =>
|
||||
{
|
||||
ubs.HasIndex(x => new
|
||||
{
|
||||
x.UserId,
|
||||
x.Game
|
||||
})
|
||||
.IsUnique();
|
||||
|
||||
ubs.HasIndex(x => x.MaxWin)
|
||||
.IsUnique(false);
|
||||
});
|
||||
|
||||
#endregion
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue