diff --git a/migrations/postgres/20241204155207_cleanup_flow_configurations.sql b/migrations/postgres/20241204155207_cleanup_flow_configurations.sql index 1e00cfd6e..51def4abc 100644 --- a/migrations/postgres/20241204155207_cleanup_flow_configurations.sql +++ b/migrations/postgres/20241204155207_cleanup_flow_configurations.sql @@ -1,3 +1,4 @@ delete from outbox_message_consumptions where producer_name='dev.kamu.domain.flow-system.FlowConfigurationService'; TRUNCATE TABLE flow_configuration_events RESTART IDENTITY; +TRUNCATE TABLE flow_events CASCADE RESTART IDENTITY; diff --git a/migrations/sqlite/20241204155207_cleanup_flow_configurations.sql b/migrations/sqlite/20241204155207_cleanup_flow_configurations.sql index 0aff57151..678ca6c5c 100644 --- a/migrations/sqlite/20241204155207_cleanup_flow_configurations.sql +++ b/migrations/sqlite/20241204155207_cleanup_flow_configurations.sql @@ -1,3 +1,4 @@ delete from outbox_message_consumptions where producer_name = "dev.kamu.domain.flow-system.FlowConfigurationService"; DELETE FROM flow_configuration_events; +DELETE FROM flow_events;