feat: schema separation — EnsureSchema + PoolWithSchema — Closes #166 #167
No reviewers
Labels
No labels
bug
documentation
enhancement
investigation
nice-to-have
performance
production-ready
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ash/eskit!167
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/schema-separation-166"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two helpers for production Postgres schema layout:
EnsureSchema(ctx, pool, name)— idempotent CREATE SCHEMAPoolWithSchema(ctx, connStr, schema)— pool with search_path setRecommended layout:
eventstore(events + checkpoints) +readmodel(projections).No framework changes — just pool configuration. Postgres search_path handles routing.
Tests:
Docs: docs/schema-separation.md with setup, migration guide, rebuild instructions.