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