PRIMARY KEY,
userName TEXT NOT NULL,
mainChannel BLOB NOT NULL,
FOREIGN KEY (mainChannel) REFERENCES channels (id)
);
(
id TEXT PRIMARY KEY,
inbox TEXT,
outbox TEXT,
followers TEXT,
following TEXT,
accountName TEXT NOT NULL,
displayName TEXT,
bio TEXT,
keyId TEXT NOT NULL,
publicKeyPem BLOB NOT NULL,
locked BOOL NOT NULL,
type TEXT NOT NULL
);
(
id BLOB PRIMARY KEY,
linkedActorId TEXT NOT NULL,
privateKeyPem BLOB NOT NULL,
FOREIGN KEY (linkedActorId) REFERENCES actors (id)
);
(
channelId BLOB NOT NULL,
userId BLOB NOT NULL,
FOREIGN KEY (channelId) REFERENCES channels (id),
FOREIGN KEY (userId) REFERENCES users (id)
); (
id BLOB