mirror of
https://github.com/zitadel/zitadel.git
synced 2025-03-01 06:27:23 +00:00
fix(setup): step 10 for postgres (#5717)
This commit is contained in:
parent
11d75d0121
commit
41025271f4
@ -1,6 +1,6 @@
|
|||||||
CREATE temporary TABLE IF NOT EXISTS wrong_events (
|
CREATE temporary TABLE IF NOT EXISTS wrong_events (
|
||||||
instance_id STRING
|
instance_id TEXT
|
||||||
, event_sequence INT8
|
, event_sequence BIGINT
|
||||||
, current_cd TIMESTAMPTZ
|
, current_cd TIMESTAMPTZ
|
||||||
, next_cd TIMESTAMPTZ
|
, next_cd TIMESTAMPTZ
|
||||||
);
|
);
|
||||||
@ -19,7 +19,7 @@ INSERT INTO wrong_events (
|
|||||||
) AS next_cd
|
) AS next_cd
|
||||||
FROM
|
FROM
|
||||||
eventstore.events
|
eventstore.events
|
||||||
) WHERE
|
) sub WHERE
|
||||||
current_cd < next_cd
|
current_cd < next_cd
|
||||||
ORDER BY
|
ORDER BY
|
||||||
event_sequence DESC
|
event_sequence DESC
|
||||||
|
Loading…
x
Reference in New Issue
Block a user