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

     1  ALTER TABLE saved_addresses ADD COLUMN removed BOOLEAN NOT NULL DEFAULT 0;
     2  -- Represents wall clock time as unixepoch timestamp
     3  ALTER TABLE saved_addresses ADD COLUMN update_clock INT NOT NULL DEFAULT 0;
     4  -- Update using the current timestamp to deconflict devices already in sync. Wins the last one to update
     5  UPDATE saved_addresses SET update_clock = (CAST(strftime('%s', 'now') AS INT));