From e68fc11e438bd3a2727e7aa9136fe9499b6da44b Mon Sep 17 00:00:00 2001 From: Elias Schriefer Date: Sun, 20 Jun 2021 17:29:51 +0000 Subject: [PATCH] Fix a type typo in SQL whoops --- src/sqlite/notification_preferences.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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