fixed one of the migrations which was preventing some bots from starting
This commit is contained in:
parent
c61f3f1433
commit
e26e2a7404
1 changed files with 4 additions and 0 deletions
|
@ -49,5 +49,9 @@ left join guildconfigs on reactionrolemessage.guildconfigid = guildconfigs.id;")
|
||||||
builder.Sql($"""
|
builder.Sql($"""
|
||||||
DELETE FROM "DelMsgOnCmdChannel" WHERE "GuildConfigId" is NULL;
|
DELETE FROM "DelMsgOnCmdChannel" WHERE "GuildConfigId" is NULL;
|
||||||
""");
|
""");
|
||||||
|
|
||||||
|
builder.Sql("""
|
||||||
|
DELETE FROM "WarningPunishment" WHERE "GuildConfigId" NOT IN (SELECT "Id" from "GuildConfigs");
|
||||||
|
""");
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue