properly check ignore_active value in schema

This commit is contained in:
Infinidoge 2024-12-31 14:08:57 -05:00
parent 5390181cfa
commit 3a4e537828
Signed by: Infinidoge
SSH key fingerprint: SHA256:GT2StvPQMMfFHyiiFJymQxfTG/z6EWLJ6NWItf5K5sA

View file

@ -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;