fixed update usernames query

This commit is contained in:
Toastie 2024-11-13 18:54:55 +13:00
parent e851c01c91
commit 3e5bccd215
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4

View file

@ -7,7 +7,7 @@ public static class MigrationQueries
{ {
public static void UpdateUsernames(MigrationBuilder migrationBuilder) public static void UpdateUsernames(MigrationBuilder migrationBuilder)
{ {
migrationBuilder.Sql("UPDATE DiscordUser SET Username = '??' + Username WHERE Discriminator = '????';"); migrationBuilder.Sql("UPDATE DiscordUser SET Username = '??' || Username WHERE Discriminator = '????';");
} }
public static void MigrateRero(MigrationBuilder migrationBuilder) public static void MigrateRero(MigrationBuilder migrationBuilder)