zitadel/migrations/cockroach/V1.51__drop_changes_idx.sql
Silvan 992b598100
fix: undo scan for current sequence in get by id (#1956)
* index on events for changes

* check for current sequence before filter events

* fix(migration): enable hash shared indexes feature

* fix(database): drop changes idx as it slows unwanted queries

* fix: remove check for current sequence after objects loaded as not all events are processed
2021-07-01 22:32:16 +02:00

4 lines
48 B
SQL

use eventstore;
drop index events@changes_idx;