Truncate automations_workflow (#11531)

This commit is contained in:
Pere Miquel Brull 2023-05-11 09:57:52 +02:00 committed by GitHub
parent 596d8cd94f
commit b7e2aecd2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -6,4 +6,7 @@ WHERE (serviceType = 'Kafka' OR serviceType = 'Redpanda')
AND JSON_EXTRACT(json, '$.connection.config.saslMechanism') NOT IN ('GSSAPI', 'PLAIN', 'SCRAM-SHA-256', 'SCRAM-SHA-512', 'OAUTHBEARER');
-- Remove the Subscriptions
DELETE FROM event_subscription_entity;
DELETE FROM event_subscription_entity;
-- Clean old test connections
TRUNCATE automations_workflow;

View File

@ -7,3 +7,6 @@ WHERE (servicetype = 'Kafka' OR serviceType = 'Redpanda')
-- Remove the Subscriptions
DELETE FROM event_subscription_entity;
-- Clean old test connections
TRUNCATE automations_workflow;