Fix missing semicolon after migration. (#26337)

Are you kidding me EFCore doesn't sanitize this itself?
This commit is contained in:
Pieter-Jan Briers
2024-03-22 16:50:55 +01:00
committed by GitHub
parent b6b67e2482
commit 4ad1e0598b
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ namespace Content.Server.Database.Migrations.Postgres
nullable: false,
defaultValue: false);
migrationBuilder.Sql("UPDATE admin_messages SET dismissed = seen");
migrationBuilder.Sql("UPDATE admin_messages SET dismissed = seen;");
migrationBuilder.AddCheckConstraint(
name: "NotDismissedAndSeen",

View File

@@ -17,7 +17,7 @@ namespace Content.Server.Database.Migrations.Sqlite
nullable: false,
defaultValue: false);
migrationBuilder.Sql("UPDATE admin_messages SET dismissed = seen");
migrationBuilder.Sql("UPDATE admin_messages SET dismissed = seen;");
migrationBuilder.AddCheckConstraint(
name: "NotDismissedAndSeen",