Align the FAQ docs with the faq_topics collection

This commit is contained in:
tleininger committed 2026-10-01 11:37:04 +02:00
1 parent 5f28237ef0
commit 8fb5044062
4 files changed
+44 -19

No files matched your search

+1 -1
View File
@@ -108,7 +108,7 @@ and the dev overlay mounts that folder into PocketBase (`./pb/pb_migrations:/pb_
| File | Role |
|---|---|
| `collections_schema.json` | The four content collections (`pages`, `posts`, `events`, `faqs`) as PocketBase exports them. **The single source of truth for the schema** — the test fixture imports this same file. |
| `collections_schema.json` | The five content collections (`pages`, `posts`, `events`, `faq_topics`, `faqs`) as PocketBase exports them. **The single source of truth for the schema** — the test fixture imports this same file. |
| `<timestamp>_dev_seed.js` | The PocketBase migration. Reads the schema file, creates any missing collection, then inserts the example records. |
Both steps are **idempotent**: a collection is created only if it is missing, and