diff --git a/database/bfgd/scripts/0009.sql b/database/bfgd/scripts/0009.sql new file mode 100644 index 00000000..b8425ba7 --- /dev/null +++ b/database/bfgd/scripts/0009.sql @@ -0,0 +1,12 @@ +-- Copyright (c) 2024 Hemi Labs, Inc. +-- Use of this source code is governed by the MIT License, +-- which can be found in the LICENSE file. + +BEGIN; + +UPDATE version SET version = 9; + +CREATE INDEX btc_blocks_can_hash_idx ON btc_blocks_can (hash); +CREATE INDEX btc_blocks_can_height_idx ON btc_blocks_can (height); + +COMMIT;