mirror of
https://github.com/open-metadata/OpenMetadata
synced 2026-05-24 09:39:11 +00:00
* Revert deleting Old Deployments for Periodic batch Workflows
* Revert "Revert deleting Old Deployments for Periodic batch Workflows"
This reverts commit 7bd1be5a81.
* TRUNCATE FLOWABLE history tables in both 1.10.5 and 1.10.7 migrations
* TRUNCATE FLOWABLE history tables in both 1.10.5 and 1.10.7 migrations
22 lines
No EOL
824 B
SQL
22 lines
No EOL
824 B
SQL
-- Increase Flowable ACTIVITY_ID_ column size to support longer user-defined workflow node names
|
|
ALTER TABLE ACT_RU_EVENT_SUBSCR MODIFY ACTIVITY_ID_ varchar(255);
|
|
|
|
-- Update workflow settings with new job acquisition interval settings
|
|
UPDATE openmetadata_settings
|
|
SET json = JSON_SET(
|
|
json,
|
|
'$.executorConfiguration.asyncJobAcquisitionInterval', 60000,
|
|
'$.executorConfiguration.timerJobAcquisitionInterval', 60000
|
|
)
|
|
WHERE configType = 'workflowSettings'
|
|
AND JSON_EXTRACT(json, '$.executorConfiguration') IS NOT NULL;
|
|
|
|
-- TRUNCATE FLOWABLE HISTORY TABLES
|
|
TRUNCATE TABLE ACT_HI_PROCINST;
|
|
TRUNCATE TABLE ACT_HI_ACTINST;
|
|
TRUNCATE TABLE ACT_HI_TASKINST;
|
|
TRUNCATE TABLE ACT_HI_VARINST;
|
|
TRUNCATE TABLE ACT_HI_DETAIL;
|
|
TRUNCATE TABLE ACT_HI_COMMENT;
|
|
TRUNCATE TABLE ACT_HI_ATTACHMENT;
|
|
TRUNCATE TABLE ACT_HI_IDENTITYLINK; |