diff --git a/src/sqlite/notification_preferences.sql b/src/sqlite/notification_preferences.sql index 498b232..953f50c 100644 --- a/src/sqlite/notification_preferences.sql +++ b/src/sqlite/notification_preferences.sql @@ -3,6 +3,6 @@ CREATE TABLE notification_preferences ( id BLOB NOT NULL PRIMARY KEY, 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 ); \ No newline at end of file