fix(setup): step 10 for postgres (#5717)

This commit is contained in:
Silvan 2023-04-20 07:31:18 +02:00 committed by adlerhurst
parent d72b7b0617
commit 08236b0d12

View File

@ -1,6 +1,6 @@
CREATE temporary TABLE IF NOT EXISTS wrong_events (
instance_id STRING
, event_sequence INT8
instance_id TEXT
, event_sequence BIGINT
, current_cd TIMESTAMPTZ
, next_cd TIMESTAMPTZ
);
@ -19,7 +19,7 @@ INSERT INTO wrong_events (
) AS next_cd
FROM
eventstore.events
) WHERE
) sub WHERE
current_cd < next_cd
ORDER BY
event_sequence DESC