noise-server/sqlite/security_preferences.sql

8 lines
257 B
MySQL
Raw Normal View History

2021-06-07 19:16:47 +02:00
-- 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
);