mirror of
https://github.com/alexgo-io/gaze-indexer.git
synced 2026-04-29 04:05:12 +08:00
18 lines
619 B
PL/PgSQL
18 lines
619 B
PL/PgSQL
BEGIN;
|
|
|
|
-- DROP INDEX
|
|
DROP INDEX IF EXISTS bitcoin_blocks_block_hash_idx;
|
|
DROP INDEX IF EXISTS bitcoin_transactions_block_hash_idx;
|
|
DROP INDEX IF EXISTS bitcoin_transactions_block_height_idx;
|
|
DROP INDEX IF EXISTS bitcoin_transaction_txouts_pkscript_idx;
|
|
DROP INDEX IF EXISTS bitcoin_transaction_txins_prevout_idx;
|
|
|
|
-- DROP TABLE
|
|
DROP TABLE IF EXISTS "bitcoin_indexer_stats";
|
|
DROP TABLE IF EXISTS "bitcoin_indexer_db_version";
|
|
DROP TABLE IF EXISTS "bitcoin_transaction_txins";
|
|
DROP TABLE IF EXISTS "bitcoin_transaction_txouts";
|
|
DROP TABLE IF EXISTS "bitcoin_transactions";
|
|
DROP TABLE IF EXISTS "bitcoin_blocks";
|
|
|
|
COMMIT; |