Skip to content

Commit

Permalink
Harpoon operations index (#984)
Browse files Browse the repository at this point in the history
* added new baking/endorsing rights indexes

* added block level, delegate index

* corrected index

* corrected comment
  • Loading branch information
Taaseen-Ali authored Jul 27, 2021
1 parent bc627f1 commit cb15d4f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions sql/conseil.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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: -
--
Expand Down

0 comments on commit cb15d4f

Please sign in to comment.