diff --git a/bootstrap/sql/migrations/native/1.7.0/postgres/postDataMigrationSQLScript.sql b/bootstrap/sql/migrations/native/1.7.0/postgres/postDataMigrationSQLScript.sql index 7c1b35d9280..8c3c0755cd4 100644 --- a/bootstrap/sql/migrations/native/1.7.0/postgres/postDataMigrationSQLScript.sql +++ b/bootstrap/sql/migrations/native/1.7.0/postgres/postDataMigrationSQLScript.sql @@ -1,7 +1,7 @@ UPDATE workflow_definition_entity SET json = jsonb_set(json, '{trigger,type}', '"eventBasedEntity"') -fixWHERE json->'trigger'->>'type' = 'eventBasedEntityTrigger'; +WHERE json->'trigger'->>'type' = 'eventBasedEntityTrigger'; UPDATE workflow_definition_entity SET json = jsonb_set(json, '{trigger,type}', '"periodicBatchEntity"') -WHERE json->'trigger'->>'type' = 'periodicBatchEntityTrigger'; \ No newline at end of file +WHERE json->'trigger'->>'type' = 'periodicBatchEntityTrigger';