status-go/protocol/encryption/migrations/sqlite/1541164797_add_installation...

8 lines
216 B
MySQL
Raw Permalink Normal View History

CREATE TABLE installations (
identity BLOB NOT NULL,
installation_id TEXT NOT NULL,
timestamp UNSIGNED BIG INT NOT NULL,
enabled BOOLEAN DEFAULT 1,
UNIQUE(identity, installation_id) ON CONFLICT REPLACE
);