Skip to content

Commit f6664f3

Browse files
peterbitflyguybrush
authored andcommitted
fix(api): add index on validatorindex column of the blocks_bls_change table
1 parent 12ee39e commit f6664f3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
-- +goose Up
2+
-- +goose StatementBegin
3+
CREATE INDEX CONCURRENTLY IF NOT EXISTS idx_blocks_bls_change_validatorindex ON blocks_bls_change (validatorindex);
4+
-- +goose StatementEnd
5+
6+
-- +goose Down
7+
-- +goose StatementBegin
8+
DROP INDEX CONCURRENTLY IF EXISTS idx_blocks_bls_change_validatorindex;
9+
-- +goose StatementEnd

0 commit comments

Comments
 (0)