Clean old test connections bootstrap (#12695)

This commit is contained in:
Pere Miquel Brull 2023-08-01 16:15:56 +02:00 committed by GitHub
parent 1b54a9d6bf
commit a68e12c7e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -69,3 +69,6 @@ ALTER TABLE event_subscription_entity DROP COLUMN deleted;
UPDATE dbservice_entity
SET json = JSON_REMOVE(json, '$.connection.config.keyfile')
WHERE serviceType = 'Clickhouse';
-- Clean old test connections
TRUNCATE automations_workflow;

View File

@ -65,3 +65,6 @@ ALTER TABLE event_subscription_entity DROP COLUMN deleted;
UPDATE dbservice_entity
SET json = json #-'{connection,config,keyfile}'
WHERE serviceType = 'Clickhouse';
-- Clean old test connections
TRUNCATE automations_workflow;