Skip to content

Commit

Permalink
fix: Fix MakeSettingIdNotNullable migration
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-dudarev committed Jun 18, 2024
1 parent cf58331 commit f8cc8a5
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 @@ -10,7 +10,7 @@ public partial class MakeSettingIdNotNullable : Migration
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.Sql("DELETE PlatformSettingValue WHERE SettingId IS NULL;");
migrationBuilder.Sql("DELETE FROM PlatformSettingValue WHERE SettingId IS NULL;");

migrationBuilder.UpdateData(
table: "PlatformSettingValue",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public partial class MakeSettingIdNotNullable : Migration
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.Sql("DELETE PlatformSettingValue WHERE SettingId IS NULL");
migrationBuilder.Sql("DELETE FROM PlatformSettingValue WHERE SettingId IS NULL");

migrationBuilder.AlterColumn<string>(
name: "SettingId",
Expand Down

0 comments on commit f8cc8a5

Please sign in to comment.