Skip to content

Commit

Permalink
Merge pull request #10473 from vegaprotocol/fix/block-explorer-missin…
Browse files Browse the repository at this point in the history
…g-index

fix: block explorer is missing an index on block height and index col…
  • Loading branch information
jeremyletang authored Jan 24, 2024
2 parents 762bbe2 + 7551d39 commit 30a1f42
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ do $$
CREATE INDEX tx_results_cmd_type_block_height_index ON tx_results
USING btree (cmd_type, block_height, index);
CREATE INDEX tx_results_cmd_type_index ON tx_results(cmd_type, submitter);
CREATE INDEX tx_results_block_height_index_idx ON tx_results(block_height, index);

-- get the sequence name for the new tx_results serial
select pg_get_serial_sequence('tx_results', 'rowid')
Expand Down

0 comments on commit 30a1f42

Please sign in to comment.