From e0e492211b5111e5b1a2cbd88ea7c9d6cede8531 Mon Sep 17 00:00:00 2001 From: mst Date: Tue, 26 Nov 2024 14:58:40 +0300 Subject: [PATCH] add `unread` column to schema --- schema.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/schema.sql b/schema.sql index 12229c3..8fa32e3 100644 --- a/schema.sql +++ b/schema.sql @@ -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 ''