From 69dc35a9f057600aa8c08ef77c6e48ef7324c59c Mon Sep 17 00:00:00 2001 From: artem-dudarev Date: Tue, 18 Jun 2024 11:16:20 +0200 Subject: [PATCH] fix: Fix MakeSettingIdNotNullable migration --- .../Migrations/Data/20240611091908_MakeSettingIdNotNullable.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VirtoCommerce.Platform.Data.PostgreSql/Migrations/Data/20240611091908_MakeSettingIdNotNullable.cs b/src/VirtoCommerce.Platform.Data.PostgreSql/Migrations/Data/20240611091908_MakeSettingIdNotNullable.cs index 602063df8f..618ea2619d 100644 --- a/src/VirtoCommerce.Platform.Data.PostgreSql/Migrations/Data/20240611091908_MakeSettingIdNotNullable.cs +++ b/src/VirtoCommerce.Platform.Data.PostgreSql/Migrations/Data/20240611091908_MakeSettingIdNotNullable.cs @@ -10,7 +10,7 @@ public partial class MakeSettingIdNotNullable : Migration /// 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( name: "SettingId",