postgresql will skip the sar migration, users will have to re-do them

This commit is contained in:
Toastie 2024-12-27 20:46:50 +13:00
parent 2a3fe1f45c
commit 2bf2d4465d
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4

View file

@ -17,6 +17,9 @@ public static class MigrationQueries
public static void MigrateSar(MigrationBuilder migrationBuilder)
{
if (migrationBuilder.IsNpgsql())
return;
migrationBuilder.Sql("""
INSERT INTO GroupName (Number, GuildConfigId)
SELECT DISTINCT "Group", GC.Id