mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 14:16:21 +00:00
ed5a5c154d
Move to a monorepo structure with submodules - Rename status-protocol-go to status-go/protocol
12 lines
301 B
SQL
12 lines
301 B
SQL
CREATE TABLE secrets (
|
|
identity BLOB NOT NULL PRIMARY KEY ON CONFLICT IGNORE,
|
|
secret BLOB NOT NULL
|
|
);
|
|
|
|
CREATE TABLE secret_installation_ids (
|
|
id TEXT NOT NULL,
|
|
identity_id BLOB NOT NULL,
|
|
UNIQUE(id, identity_id) ON CONFLICT IGNORE,
|
|
FOREIGN KEY (identity_id) REFERENCES secrets(identity)
|
|
);
|