MINOR - Truncate automations_workflow (#14446)

This commit is contained in:
Pere Miquel Brull 2023-12-19 16:53:23 +01:00 committed by GitHub
parent 4846103cbf
commit ffe4aa319f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -37,3 +37,6 @@ update metadata_service_entity
set json = JSON_REPLACE(json, '$.connection.config.secretsManagerProvider', 'db')
where name = 'OpenMetadata'
and JSON_EXTRACT(json, '$.connection.config.secretsManagerProvider') = 'noop';
-- Clean old test connections
TRUNCATE automations_workflow;

View File

@ -49,3 +49,6 @@ set json = jsonb_set(
)
where name = 'OpenMetadata'
and json #>> '{connection,config,secretsManagerProvider}' = 'noop';
-- Clean old test connections
TRUNCATE automations_workflow;