Skip to content

Commit

Permalink
revert script changes
Browse files Browse the repository at this point in the history
  • Loading branch information
RODO94 committed Jan 9, 2025
1 parent 54d9435 commit be39baa
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/seed-database/write/published_flows.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ CREATE TEMPORARY TABLE sync_published_flows (
flow_id uuid,
summary text,
publisher_id int,
created_at timestamptz,
has_send_component boolean
);
created_at timestamptz
);

\copy sync_published_flows (id, data, flow_id, summary, publisher_id, created_at) FROM '/tmp/published_flows.csv' (FORMAT csv, DELIMITER ';');

Expand All @@ -17,14 +16,15 @@ INSERT INTO published_flows (
flow_id,
summary,
publisher_id,
created_at)
created_at
)
SELECT
id,
data,
flow_id,
summary,
publisher_id,
created_at,
created_at
FROM sync_published_flows
ON CONFLICT (id) DO UPDATE
SET
Expand Down

0 comments on commit be39baa

Please sign in to comment.