From 14430dd9291f2ab402c453704aff65ee7866784a Mon Sep 17 00:00:00 2001 From: ClaytonNorthey92 Date: Mon, 26 Aug 2024 17:45:51 -0400 Subject: [PATCH] added sql --- database/bfgd/scripts/0009.sql | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 database/bfgd/scripts/0009.sql 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;