zitadel/cmd/setup/19.sql

1 line
148 B
MySQL
Raw Permalink Normal View History

CREATE INDEX CONCURRENTLY IF NOT EXISTS events2_current_sequence ON eventstore.events2 ("sequence" DESC, aggregate_id, aggregate_type, instance_id);