8 lines
316 B
SQL
8 lines
316 B
SQL
-- notification_preferences definition
|
|
|
|
CREATE TABLE notification_preferences (
|
|
id INTEGER NOT NULL PRIMARY KEY,
|
|
lock_details INTEGER DEFAULT 0 NOT NULL,
|
|
do_not_disturb INTEGER DEFAULT 0 NOT NULL,
|
|
CONSTRAINT notification_preferences_FK FOREIGN KEY (id) REFERENCES users(id) ON DELETE CASCADE ON UPDATE CASCADE
|
|
); |