Skip to content

Commit

Permalink
Extend clean up migration
Browse files Browse the repository at this point in the history
  • Loading branch information
rmn-boiko committed Dec 20, 2024
1 parent 428b10c commit 314564b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
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;
ALTER SEQUENCE flow_event_id_seq RESTART WITH 1;
ALTER SEQUENCE flow_id_seq RESTART WITH 1;
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
delete from outbox_message_consumptions where producer_name = "dev.kamu.domain.flow-system.FlowConfigurationService";

DELETE FROM flow_configuration_events;
DELETE FROM flow_events;
DELETE FROM flows;

0 comments on commit 314564b

Please sign in to comment.