noise-server/sqlite/security_preferences.sql
2021-06-07 17:16:47 +00:00

8 lines
257 B
SQL

-- security_preferences definition
CREATE TABLE "security_preferences" (
id INTEGER NOT NULL,
account_tokens TEXT NOT NULL,
password_hash TEXT NOT NULL,
CONSTRAINT NewTable_FK FOREIGN KEY (id) REFERENCES users(id) ON DELETE CASCADE ON UPDATE CASCADE
);