From 3a4e5378285cde5c21e434a6346db8fe9e036d14 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Tue, 31 Dec 2024 14:08:57 -0500 Subject: [PATCH] properly check ignore_active value in schema --- nomen/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nomen/db.py b/nomen/db.py index 4b882bf..07f594c 100644 --- a/nomen/db.py +++ b/nomen/db.py @@ -32,7 +32,7 @@ CREATE TABLE users ( use_embed INTEGER NOT NULL DEFAULT 1 CHECK(use_embed IN (0, 1)), notify_self INTEGER NOT NULL DEFAULT 0 CHECK(notify_self IN (0, 1)), bots_notify INTEGER NOT NULL DEFAULT 0 CHECK(bots_notify IN (0, 1)), - ignore_active INTEGER NOT NULL DEFAULT 0 CHECK(bots_notify IN (0, 1)) + ignore_active INTEGER NOT NULL DEFAULT 0 CHECK(ignore_active IN (0, 1)) ) WITHOUT ROWID;