zitadel/cmd/setup/11/postgres/create_index.sql

4 lines
132 B
MySQL
Raw Normal View History

CREATE INDEX IF NOT EXISTS ca_fill_idx ON eventstore.events (
event_sequence DESC
, instance_id
) WHERE created_at IS NULL;