status-go/protocol/migrations/sqlite/1665560200_add_contact_veri...

14 lines
474 B
MySQL
Raw Normal View History

ALTER TABLE user_messages ADD COLUMN contact_verification_status INT;
ALTER TABLE activity_center_notifications ADD COLUMN contact_verification_status INT DEFAULT 0;
CREATE TABLE IF NOT EXISTS verification_requests_individual (
from_user TEXT,
to_user TEXT,
challenge TEXT NOT NULL,
requested_at INT NOT NULL DEFAULT 0,
response TEXT,
replied_at INT NOT NULL DEFAULT 0,
verification_status INT NOT NULL DEFAULT 0,
id TEXT PRIMARY KEY ON CONFLICT REPLACE
);