We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d17e22c + 991cdfe commit e978190Copy full SHA for e978190
yaci-indexer/src/main/resources/db/store/postgresql/V1.0_900_0__rosetta_app_addres_utxo.sql
@@ -1,11 +1 @@
1
-DO $$
2
-BEGIN
3
- IF NOT EXISTS (
4
- SELECT 1 FROM pg_indexes
5
- WHERE indexname = 'idx_address_utxo_tx_hash'
6
- AND tablename = 'address_utxo'
7
- AND schemaname = current_schema()
8
- ) THEN
9
- CREATE INDEX idx_address_utxo_tx_hash ON address_utxo USING btree (tx_hash);
10
- END IF;
11
-END $$;
+CREATE INDEX idx_address_utxo_tx_hash ON address_utxo USING btree (tx_hash);
0 commit comments