Expand page templates and configure page visibility

This commit is contained in:
2026-11-22 12:54:01 +08:00
parent 931d333ca7
commit f23c3b95ba
27 changed files with 293 additions and 44 deletions
+1
View File
@@ -17,6 +17,7 @@ CREATE TABLE IF NOT EXISTS pages (
actions TEXT NOT NULL,
quicklinks TEXT NOT NULL,
theme TEXT NOT NULL DEFAULT '',
visibility TEXT NOT NULL DEFAULT '{}',
status TEXT NOT NULL DEFAULT 'published' CHECK (status IN ('draft', 'published')),
updated_at TEXT,
version INTEGER NOT NULL DEFAULT 0