add unread column to schema

This commit is contained in:
mst 2024-11-26 14:58:40 +03:00
parent 1e13fefcc6
commit e0e492211b

View file

@ -14,7 +14,8 @@ CREATE TABLE IF NOT EXISTS questions (
answered BOOLEAN NOT NULL DEFAULT FALSE,
answer_id INT,
pinned BOOLEAN NOT NULL DEFAULT FALSE,
cw VARCHAR(255) NOT NULL DEFAULT ''
cw VARCHAR(255) NOT NULL DEFAULT '',
unread BOOLEAN NOT NULL DEFAULT TRUE
-- below is reserved for version 1.7.0 or later
-- private BOOLEAN NOT NULL DEFAULT FALSE,
-- user_ip VARBINARY(16) NOT NULL DEFAULT ''