mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-03 23:26:54 +00:00

* Fix Migrations * Fix WorkflowHandler initialization * Refactor how to fix the migrations by passing the Config object itself * Fix Migrations * Remove comments * Remove comments
8 lines
394 B
SQL
8 lines
394 B
SQL
UPDATE workflow_definition_entity
|
|
SET json = jsonb_set(json, '{trigger,type}', '"eventBasedEntity"')
|
|
WHERE json->'trigger'->>'type' in ('eventBasedEntityTrigger', 'eventBasedEntityWorkflow');
|
|
|
|
UPDATE workflow_definition_entity
|
|
SET json = jsonb_set(json, '{trigger,type}', '"periodicBatchEntity"')
|
|
WHERE json->'trigger'->>'type' in ('periodicBatchEntityTrigger', 'periodicBatchEntityWorkflow');
|