Skip to content

Commit 5d4ee7c

Browse files
committed
f
1 parent 1c6d8be commit 5d4ee7c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

crates/erc20_payment_lib_common/migrations/20240320000000_add_idx.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
CREATE INDEX "idx_chain_tx_tx_hash" ON "chain_tx" ("tx_hash");
1+
DELETE FROM chain_tx;
2+
CREATE UNIQUE INDEX "idx_chain_tx_tx_hash" ON "chain_tx" ("tx_hash");
23
CREATE INDEX "idx_chain_tx_blockchain_date" ON "chain_tx" ("blockchain_date");
34
CREATE INDEX "idx_chain_transfer_blockchain_date" ON "chain_transfer" ("blockchain_date");
45
CREATE INDEX "idx_chain_transfer_receiver_address" ON "chain_transfer" ("receiver_addr");

crates/erc20_payment_lib_common/migrations/20240320000001_add_idx.sql

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)