Skip to content

Commit

Permalink
Clean up whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
hhvrc committed Nov 22, 2024
1 parent 4b3d8f6 commit 573cf0b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Common/Utils/Migration/MigrationExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,19 +88,19 @@ private static void MigrationHistory_Create(DatabaseFacade db, string migrationI
{
db.ExecuteSql(
$"""
INSERT INTO "__ComplexMigrationHistory" (
"MigrationId",
"ProductVersion"
) VALUES ({migrationId}, {ProductInfo.GetVersion()});
"""
INSERT INTO "__ComplexMigrationHistory" (
"MigrationId",
"ProductVersion"
) VALUES ({migrationId}, {ProductInfo.GetVersion()});
"""
);
}
private static void MigrationHistory_MarkCompleted(DatabaseFacade db, string migrationId)
{
if (db.ExecuteSql(
$"""
UPDATE "__ComplexMigrationHistory" SET "Completed" = TRUE WHERE "MigrationId" = '{migrationId}'
"""
$"""
UPDATE "__ComplexMigrationHistory" SET "Completed" = TRUE WHERE "MigrationId" = '{migrationId}'
"""
) != 1)
{
throw new Exception($"Failed to mark migration \"{migrationId}\" as completed");
Expand Down

0 comments on commit 573cf0b

Please sign in to comment.