mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 14:16:21 +00:00
5 lines
233 B
MySQL
5 lines
233 B
MySQL
|
ALTER TABLE saved_addresses ADD COLUMN favourite BOOLEAN NOT NULL DEFAULT FALSE;
|
||
|
|
||
|
INSERT OR REPLACE INTO saved_addresses(address, name, favourite, network_id) SELECT address, name, "TRUE", "1" FROM favourites;
|
||
|
|
||
|
DROP TABLE favourites;
|