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",