From 3e5bccd215de52b3307b6df8a1de3c33bc34013c Mon Sep 17 00:00:00 2001 From: Toastie Date: Wed, 13 Nov 2024 18:54:55 +1300 Subject: [PATCH] fixed update usernames query --- src/EllieBot/Migrations/MigrationQueries.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EllieBot/Migrations/MigrationQueries.cs b/src/EllieBot/Migrations/MigrationQueries.cs index 62873f2..f35dbc8 100644 --- a/src/EllieBot/Migrations/MigrationQueries.cs +++ b/src/EllieBot/Migrations/MigrationQueries.cs @@ -7,7 +7,7 @@ public static class MigrationQueries { 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)