status-go/appdatabase/migrations/sql/1687193315_transfers_extrac...

11 lines
499 B
MySQL
Raw Normal View History

2023-06-20 02:50:49 +00:00
-- This migration is done in GO code as a custom step.
-- This file serves as an anchor for the migration system
-- Check migrateWalletTransferFromToAddresses from appdatabase/database.go
-- The following steps are done in GO code:
-- ALTER TABLE transfers ADD COLUMN tx_from_address BLOB;
-- ALTER TABLE transfers ADD COLUMN tx_to_address BLOB;
-- Extract transfer from/to addresses and add the information into the new columns
-- Re-extract token address and insert it as blob instead of string