Fix a type typo in SQL
whoops
This commit is contained in:
parent
99918f1bb9
commit
e68fc11e43
@ -3,6 +3,6 @@
|
|||||||
CREATE TABLE notification_preferences (
|
CREATE TABLE notification_preferences (
|
||||||
id BLOB NOT NULL PRIMARY KEY,
|
id BLOB NOT NULL PRIMARY KEY,
|
||||||
lock_details BOOLEAN DEFAULT 0 NOT NULL CHECK (lock_details IN (0, 1)),
|
lock_details BOOLEAN DEFAULT 0 NOT NULL CHECK (lock_details IN (0, 1)),
|
||||||
do_not_disturb INTEGER DEFAULT 0 NOT NULL CHECK (do_not_disturb IN (0, 1)),
|
do_not_disturb BOOLEAN DEFAULT 0 NOT NULL CHECK (do_not_disturb IN (0, 1)),
|
||||||
CONSTRAINT notification_preferences_FK FOREIGN KEY (id) REFERENCES users(id) ON DELETE CASCADE ON UPDATE CASCADE
|
CONSTRAINT notification_preferences_FK FOREIGN KEY (id) REFERENCES users(id) ON DELETE CASCADE ON UPDATE CASCADE
|
||||||
);
|
);
|
Loading…
Reference in New Issue
Block a user