Skip to content

Commit

Permalink
Merge pull request #46 from SiaFoundation/add-maturityheight-index
Browse files Browse the repository at this point in the history
Add index to `maturity_height` in `siacoin_elements`
  • Loading branch information
n8maninger authored Jun 17, 2024
2 parents d71f0b6 + 24fddc5 commit 0a4aed1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions persist/sqlite/init.sql
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ CREATE TABLE siacoin_elements (
value BLOB NOT NULL
);

CREATE INDEX siacoin_elements_maturity_height_index ON siacoin_elements(maturity_height);
CREATE INDEX siacoin_elements_output_id_index ON siacoin_elements(output_id);
CREATE INDEX siacoin_elements_address_spent_index ON siacoin_elements(address, spent);

Expand Down

0 comments on commit 0a4aed1

Please sign in to comment.