diff --git a/sql/conseil.sql b/sql/conseil.sql index 4546cfd09..38eb44769 100644 --- a/sql/conseil.sql +++ b/sql/conseil.sql @@ -706,6 +706,13 @@ CREATE INDEX ix_balance_updates_account_id ON tezos.balance_updates USING btree CREATE INDEX ix_balance_updates_block_level ON tezos.balance_updates USING btree (block_level); +-- Index: ix_operations_block_level_delegate + +CREATE INDEX ix_operations_block_level_delegate + ON tezos.operations USING btree + (level ASC NULLS LAST, delegate COLLATE pg_catalog."default" ASC NULLS LAST) + TABLESPACE pg_default; + -- -- Name: accounts accounts_block_id_fkey; Type: FK CONSTRAINT; Schema: tezos; Owner: - --