Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

docs([issue-2832]): log db/schema DDL split to changelog

[._.]/ Adam Eivy0e940bf28e18
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.md
index e22e71ce9a..318ee3bb91 100644
--- a/.changelog/NEXT.md
+++ b/.changelog/NEXT.md
@@ -23,3 +23,7 @@
## Removed
- Drop the unused `featureFlags`/`lockPolicies` reserved config slots from `collectionStore`'s typedef.
+
+## Internal
+
+- **[issue-2832] Split the boot-schema DDL into per-domain modules** — the ~1265-line inline `CREATE TABLE`/`CREATE INDEX`/trigger block in `ensureSchemaImpl()` (`server/lib/db.js`) is extracted into per-domain modules under `server/lib/db/schema/` (catalog, media, universes, writers-room, pipeline, privacy, tribe, audit, …), each exporting a statement array; `ensureSchemaImpl` is now a thin composer. Statement text and order are byte-identical, so the composed schema is unchanged.