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

This commit is contained in:
Kwoth
2024-12-26 17:55:25 +00:00
parent 91eed9dbd8
commit 1da19a51f6

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