status-go/multiaccounts
Stefan 5b6f7226bb feat(wallet) extract json blobs and add custom migration support
Extended the migration process with a generic way of applying custom
migration code on top of the SQL files. The implementation provides
a safer way to run GO code along with the SQL migrations and possibility
of rolling back the changes in case of failure to keep the database
consistent.
This custom GO migration is needed to extract the status from
the JSON blob receipt and store it in transfers table.

Other changes:
- Add NULL DB value tracking to JSONBlob helper
- Index status column on transfers table
- Remove unnecessary panic calls
- Move log_parser to wallet's common package and use to extract token
  identity from the logs

Notes:
- there is already an index on transfers table, sqlite creates one for
  each unique constraint therefore add only status to a new index
- the planned refactoring and improvements to the database have been
  postponed due to time constraints. Got the time to migrate the data
  though, extracting it can be done later for a more efficient
  implementation

Update status-desktop #10746
2023-06-08 13:54:40 +02:00
..
accounts feat: expose account created at 2023-06-04 20:00:35 +02:00
common chore: Add ColorId for Wallet accounts that can be shared with mobile (#3521) 2023-06-02 17:06:51 +02:00
errors feat: `keypair_name` and `last_used_derivation_index` columns added to `accounts` table 2023-03-28 16:19:27 +02:00
migrations feat(wallet) extract json blobs and add custom migration support 2023-06-08 13:54:40 +02:00
settings Changes necessary to restore wallet on mobile app 2023-05-25 21:08:34 +02:00
settings_notifications fix: don't return an error on empty rows 2023-01-24 16:26:36 -04:00
settings_social_links fix: profile social links, fix older clock error 2023-06-06 17:05:55 +02:00
database.go feat(wallet) extract json blobs and add custom migration support 2023-06-08 13:54:40 +02:00
database_test.go chore: Add ColorId for Wallet accounts that can be shared with mobile (#3521) 2023-06-02 17:06:51 +02:00