diff --git a/src/NadekoBot/Migrations/20210707002343_cleanup.cs b/src/NadekoBot/Migrations/20210707002343_cleanup.cs index 6541d4a78..9b25c481c 100644 --- a/src/NadekoBot/Migrations/20210707002343_cleanup.cs +++ b/src/NadekoBot/Migrations/20210707002343_cleanup.cs @@ -16,6 +16,7 @@ namespace NadekoBot.Migrations migrationBuilder.Sql("DELETE FROM FilteredWord WHERE GuildConfigId NOT IN (SELECT Id from GuildConfigs)"); migrationBuilder.Sql("DELETE FROM FilterChannelId WHERE GuildConfigId NOT IN (SELECT Id from GuildConfigs)"); migrationBuilder.Sql("DELETE FROM CommandCooldown WHERE GuildConfigId NOT IN (SELECT Id from GuildConfigs)"); + migrationBuilder.Sql("DELETE FROM WaifuInfo where WaifuId not in (SELECT Id from DiscordUser);"); migrationBuilder.DropColumn( name: "ChannelCreated",