From 4fe4c4eff2b167bdaa7efb2e4d895a6f9ad8e2f0 Mon Sep 17 00:00:00 2001 From: Toastie Date: Wed, 26 Jun 2024 01:00:44 +1200 Subject: [PATCH] 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/EllieBot/Migrations/Sqlite/20240518221424_guidlconfig-cleanup.cs b/src/EllieBot/Migrations/Sqlite/20240518221424_guidlconfig-cleanup.cs index 9f5aa20..faaf454 100644 --- a/src/EllieBot/Migrations/Sqlite/20240518221424_guidlconfig-cleanup.cs +++ b/src/EllieBot/Migrations/Sqlite/20240518221424_guidlconfig-cleanup.cs @@ -11,6 +11,8 @@ namespace EllieBot.Migrations /// protected override void Up(MigrationBuilder migrationBuilder) { + MigrationQueries.GuildConfigCleanup(migrationBuilder); + migrationBuilder.DropForeignKey( name: "FK_AntiRaidSetting_GuildConfigs_GuildConfigId", table: "AntiRaidSetting");