mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-06 00:28:52 +00:00
8 lines
329 B
SQL
8 lines
329 B
SQL
UPDATE workflow_definition_entity
|
|
SET json = jsonb_set(json, '{trigger,type}', '"eventBasedEntity"')
|
|
WHERE json->'trigger'->>'type' = 'eventBasedEntityTrigger';
|
|
|
|
UPDATE workflow_definition_entity
|
|
SET json = jsonb_set(json, '{trigger,type}', '"periodicBatchEntity"')
|
|
WHERE json->'trigger'->>'type' = 'periodicBatchEntityTrigger';
|