github.com/status-im/status-go@v1.1.0/appdatabase/migrations/sql/1687193315_transfers_extract_from_to_address.up.sql (about)

     1  -- This migration is done in GO code as a custom step.
     2  -- This file serves as an anchor for the migration system
     3  -- Check migrateWalletTransferFromToAddresses from appdatabase/database.go
     4  
     5  -- The following steps are done in GO code:
     6  
     7  -- ALTER TABLE transfers ADD COLUMN tx_from_address BLOB;
     8  -- ALTER TABLE transfers ADD COLUMN tx_to_address BLOB;
     9  
    10  -- Extract transfer from/to addresses and add the information into the new columns
    11  -- Re-extract token address and insert it as blob instead of string