postgresql will skip the sar migration, users will have to re-do them
This commit is contained in:
parent
2a3fe1f45c
commit
2bf2d4465d
1 changed files with 3 additions and 0 deletions
|
@ -17,6 +17,9 @@ public static class MigrationQueries
|
||||||
|
|
||||||
public static void MigrateSar(MigrationBuilder migrationBuilder)
|
public static void MigrateSar(MigrationBuilder migrationBuilder)
|
||||||
{
|
{
|
||||||
|
if (migrationBuilder.IsNpgsql())
|
||||||
|
return;
|
||||||
|
|
||||||
migrationBuilder.Sql("""
|
migrationBuilder.Sql("""
|
||||||
INSERT INTO GroupName (Number, GuildConfigId)
|
INSERT INTO GroupName (Number, GuildConfigId)
|
||||||
SELECT DISTINCT "Group", GC.Id
|
SELECT DISTINCT "Group", GC.Id
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue