mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 11:34:26 +00:00
fix(migration): enable hash shared index flag (#1954)
* index on events for changes * check for current sequence before filter events * fix(migration): enable hash shared indexes feature
This commit is contained in:
parent
62b4df8c09
commit
d5626db71b
@ -1 +1,6 @@
|
|||||||
|
BEGIN;
|
||||||
|
|
||||||
|
SET experimental_enable_hash_sharded_indexes=on;
|
||||||
CREATE INDEX changes_idx ON eventstore.events (aggregate_type, aggregate_id, creation_date) USING HASH WITH BUCKET_COUNT = 10;
|
CREATE INDEX changes_idx ON eventstore.events (aggregate_type, aggregate_id, creation_date) USING HASH WITH BUCKET_COUNT = 10;
|
||||||
|
|
||||||
|
COMMIT;
|
||||||
|
Loading…
Reference in New Issue
Block a user