Postgres database layer for WREN.
Contains the migration runner and all SQL migrations for both the shared common schema (users, API keys, permissions, invites, org members) and per-tenant schemas (documents, versions, labels, paths, collection schemas, asset contents).
Migrations are applied automatically on server start. Each tenant schema is migrated independently.
migrations/common/— shared tables (run once)migrations/tenant/— per-org tables (run per schema)
- Website: https://wren.aemwip.com
- All repos: github.com/usewren
- Tutorial: https://wren.aemwip.com/tutorial
- API Docs: https://wren.aemwip.com/docs
Apache-2.0