Skip to content

Commit

Permalink
DESC -> ASC to avoid backward scan
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaytonNorthey92 committed Dec 2, 2024
1 parent 4f23930 commit f561b01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/bfgd/scripts/0011.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ BEGIN;

UPDATE version SET version = 11;

CREATE INDEX pop_pasis_published_pop_txs_desc_idx ON pop_basis (l2_keystone_abrev_hash, id DESC) WHERE btc_block_hash IS NOT NULL;
CREATE INDEX pop_pasis_published_pop_txs_desc_idx ON pop_basis (l2_keystone_abrev_hash, id ASC) WHERE btc_block_hash IS NOT NULL;

COMMIT;

0 comments on commit f561b01

Please sign in to comment.