status-go/protocol/migrations/sqlite/1675272329_fix_protocol_mig...

10 lines
183 B
MySQL
Raw Normal View History

2023-02-01 17:29:09 +00:00
UPDATE contacts SET contact_request_state = CASE
WHEN added THEN
2
END;
UPDATE contacts SET contact_request_remote_state = CASE
WHEN has_added_us THEN
3
END;