mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 11:04:25 +00:00
6be41ea257
* fix(step10): count amount of wrong_events manually * fix(step11): create index for better performance
12 lines
169 B
SQL
12 lines
169 B
SQL
SELECT
|
|
id
|
|
, creation_date
|
|
FROM
|
|
eventstore.events
|
|
WHERE
|
|
created_at IS NULL
|
|
ORDER BY
|
|
event_sequence DESC
|
|
, instance_id
|
|
LIMIT $1
|
|
FOR UPDATE |