From 9f1c82fe05e062ee2acd516251fedf70143373f2 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 14 Apr 2026 10:09:59 +0500 Subject: [PATCH] chore: add site_config collection to pb-init-v3.sh --- scripts/pb-init-v3.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/pb-init-v3.sh b/scripts/pb-init-v3.sh index eed8f71..132647a 100755 --- a/scripts/pb-init-v3.sh +++ b/scripts/pb-init-v3.sh @@ -376,6 +376,13 @@ create "book_ratings" '{ {"name":"rating", "type":"number", "required":true} ]}' +create "site_config" '{ + "name":"site_config","type":"base","fields":[ + {"name":"decoration", "type":"text"}, + {"name":"logoAnimation", "type":"text"}, + {"name":"eventLabel", "type":"text"} + ]}' + # ── 5. Field migrations (idempotent — adds fields missing from older installs) ─ add_field "scraping_tasks" "heartbeat_at" "date" add_field "audio_jobs" "heartbeat_at" "date"