mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-23 16:02:14 +00:00
fix(setup): steps 10 and 11 (#5987)
* fix(step10): count amount of wrong_events manually * fix(step11): create index for better performance
This commit is contained in:
@@ -1 +1,12 @@
|
||||
SELECT id, creation_date FROM eventstore.events WHERE created_at IS NULL ORDER BY event_sequence DESC, instance_id LIMIT 20 FOR UPDATE
|
||||
SELECT
|
||||
id
|
||||
, creation_date
|
||||
FROM
|
||||
eventstore.events
|
||||
WHERE
|
||||
created_at IS NULL
|
||||
ORDER BY
|
||||
event_sequence DESC
|
||||
, instance_id
|
||||
LIMIT $1
|
||||
FOR UPDATE
|
||||
Reference in New Issue
Block a user