noise-server/sqlite/security_preferences.sql

8 lines
269 B
MySQL
Raw Normal View History

2021-06-07 19:16:47 +02:00
-- security_preferences definition
CREATE TABLE "security_preferences" (
2021-06-08 13:22:57 +02:00
id INTEGER NOT NULL PRIMARY KEY,
2021-06-07 19:16:47 +02:00
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
);