Added cleanup code for invalid database data in sqlite
This commit is contained in:
parent
404f51347d
commit
4fe4c4eff2
1 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,8 @@ namespace EllieBot.Migrations
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
protected override void Up(MigrationBuilder migrationBuilder)
|
protected override void Up(MigrationBuilder migrationBuilder)
|
||||||
{
|
{
|
||||||
|
MigrationQueries.GuildConfigCleanup(migrationBuilder);
|
||||||
|
|
||||||
migrationBuilder.DropForeignKey(
|
migrationBuilder.DropForeignKey(
|
||||||
name: "FK_AntiRaidSetting_GuildConfigs_GuildConfigId",
|
name: "FK_AntiRaidSetting_GuildConfigs_GuildConfigId",
|
||||||
table: "AntiRaidSetting");
|
table: "AntiRaidSetting");
|
||||||
|
|
Loading…
Reference in a new issue