From d9e52038ac482ba17b584c657cd23a5f3322c3af Mon Sep 17 00:00:00 2001 From: Kwoth Date: Tue, 28 May 2024 20:33:45 +0000 Subject: [PATCH] fix: re-added cleanup code for invalid database data in sqlite --- .../Migrations/Sqlite/20240518221424_guidlconfig-cleanup.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/NadekoBot/Migrations/Sqlite/20240518221424_guidlconfig-cleanup.cs b/src/NadekoBot/Migrations/Sqlite/20240518221424_guidlconfig-cleanup.cs index 17fb39e32..3a2ec2c27 100644 --- a/src/NadekoBot/Migrations/Sqlite/20240518221424_guidlconfig-cleanup.cs +++ b/src/NadekoBot/Migrations/Sqlite/20240518221424_guidlconfig-cleanup.cs @@ -11,6 +11,8 @@ namespace NadekoBot.Migrations /// protected override void Up(MigrationBuilder migrationBuilder) { + MigrationQueries.GuildConfigCleanup(migrationBuilder); + migrationBuilder.DropForeignKey( name: "FK_AntiRaidSetting_GuildConfigs_GuildConfigId", table: "AntiRaidSetting");