diff --git a/bootstrap/sql/com.mysql.cj.jdbc.Driver/v014__create_db_connection_info.sql b/bootstrap/sql/com.mysql.cj.jdbc.Driver/v014__create_db_connection_info.sql index 3f67a62b67c..aa491d39c39 100644 --- a/bootstrap/sql/com.mysql.cj.jdbc.Driver/v014__create_db_connection_info.sql +++ b/bootstrap/sql/com.mysql.cj.jdbc.Driver/v014__create_db_connection_info.sql @@ -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; diff --git a/bootstrap/sql/org.postgresql.Driver/v014__create_db_connection_info.sql b/bootstrap/sql/org.postgresql.Driver/v014__create_db_connection_info.sql index 431fe5e163b..2186feabd8d 100644 --- a/bootstrap/sql/org.postgresql.Driver/v014__create_db_connection_info.sql +++ b/bootstrap/sql/org.postgresql.Driver/v014__create_db_connection_info.sql @@ -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;