Skip to content

Commit

Permalink
refactor: Fix migration
Browse files Browse the repository at this point in the history
  • Loading branch information
boecklim committed Jan 14, 2025
1 parent d6f1195 commit 34a441b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ CREATE INDEX IF NOT EXISTS ix_registered_transactions_inserted_at ON blocktx.reg
INSERT INTO blocktx.registered_transactions
SELECT t.hash AS hash FROM blocktx.transactions t WHERE t.is_registered = TRUE;

DROP INDEX ix_block_transactions_map_inserted_at;
DROP INDEX blocktx.ix_block_transactions_map_inserted_at;
DROP TABLE blocktx.block_transactions_map;
DROP INDEX ix_transactions_inserted_at;
DROP INDEX ux_transactions_hash;
DROP INDEX blocktx.ix_transactions_inserted_at;
DROP INDEX blocktx.ux_transactions_hash;
DROP TABLE blocktx.transactions;

0 comments on commit 34a441b

Please sign in to comment.