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

10 lines
183 B
SQL

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;