From a016b3546ff0729f51fb2674db2cbf3926d67668 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Sun, 20 Mar 2022 01:09:22 +0100 Subject: [PATCH] Added some missing tables to the context, no functional change --- src/NadekoBot/Db/Models/WaifuItem.cs | 1 + src/NadekoBot/Db/NadekoContext.cs | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/NadekoBot/Db/Models/WaifuItem.cs b/src/NadekoBot/Db/Models/WaifuItem.cs index 0cb5c9a93..228d2a1d8 100644 --- a/src/NadekoBot/Db/Models/WaifuItem.cs +++ b/src/NadekoBot/Db/Models/WaifuItem.cs @@ -3,6 +3,7 @@ namespace NadekoBot.Services.Database.Models; public class WaifuItem : DbEntity { + public WaifuInfo WaifuInfo { get; set; } public int? WaifuInfoId { get; set; } public string ItemEmoji { get; set; } public string Name { get; set; } diff --git a/src/NadekoBot/Db/NadekoContext.cs b/src/NadekoBot/Db/NadekoContext.cs index 65d0127db..6b9ce2074 100644 --- a/src/NadekoBot/Db/NadekoContext.cs +++ b/src/NadekoBot/Db/NadekoContext.cs @@ -37,9 +37,13 @@ public class NadekoContext : DbContext public DbSet Expressions { get; set; } public DbSet CurrencyTransactions { get; set; } public DbSet WaifuUpdates { get; set; } + public DbSet WaifuItem { get; set; } public DbSet Warnings { get; set; } public DbSet UserXpStats { get; set; } public DbSet Clubs { get; set; } + public DbSet ClubBans { get; set; } + public DbSet ClubApplicants { get; set; } + //logging public DbSet LogSettings { get; set; }