Skip to content

Commit

Permalink
Fix missing semicolon after migration. (#26337)
Browse files Browse the repository at this point in the history
Are you kidding me EFCore doesn't sanitize this itself?
  • Loading branch information
PJB3005 authored and sleepyyapril committed Dec 22, 2024
1 parent c198ef2 commit c769e77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ protected override void Up(MigrationBuilder migrationBuilder)
nullable: false,
defaultValue: false);

migrationBuilder.Sql("UPDATE admin_messages SET dismissed = seen");
migrationBuilder.Sql("UPDATE admin_messages SET dismissed = seen;");

migrationBuilder.AddCheckConstraint(
name: "NotDismissedAndSeen",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ protected override void Up(MigrationBuilder migrationBuilder)
nullable: false,
defaultValue: false);

migrationBuilder.Sql("UPDATE admin_messages SET dismissed = seen");
migrationBuilder.Sql("UPDATE admin_messages SET dismissed = seen;");

migrationBuilder.AddCheckConstraint(
name: "NotDismissedAndSeen",
Expand Down

0 comments on commit c769e77

Please sign in to comment.