forked from cerc-io/ipld-eth-server
Apply taka's fix to faulty down migration
This commit is contained in:
parent
8de6fc45e1
commit
4c87ef44b8
@ -24,6 +24,8 @@ ALTER TABLE receipts
|
||||
ALTER TABLE receipts
|
||||
ADD COLUMN transaction_id INT;
|
||||
|
||||
CREATE INDEX transaction_id_index ON receipts (transaction_id);
|
||||
|
||||
UPDATE receipts
|
||||
SET transaction_id = (
|
||||
SELECT id FROM transactions WHERE transactions.hash = receipts.tx_hash
|
||||
|
Loading…
Reference in New Issue
Block a user