Added cleanup code for invalid database data in sqlite

This commit is contained in:
Toastie 2024-06-26 01:00:44 +12:00
parent 404f51347d
commit 4fe4c4eff2
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4

View file

@ -11,6 +11,8 @@ namespace EllieBot.Migrations
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
MigrationQueries.GuildConfigCleanup(migrationBuilder);
migrationBuilder.DropForeignKey(
name: "FK_AntiRaidSetting_GuildConfigs_GuildConfigId",
table: "AntiRaidSetting");