Expand description
mnm-store — Postgres + pgvector storage for midnight-manual.
Schema lives in crates/mnm-store/migrations/; typed entity APIs in
entities; the PgPool builder and sqlx::migrate!() runner in
pool. Errors are mapped through error::StoreError so callers don’t
depend on sqlx internals.
See the data-model schema reference for schema details.
Re-exports§
pub use error::Result;pub use error::StoreError;pub use pool::connect;pub use pool::run_migrations;pub use pool::MIGRATOR;
Modules§
- entities
- Entity modules — one per table group in the data-model schema (corpus tables §0002, admin tables §0004).
- error
- Storage-layer error wrapping. sqlx errors are mapped to typed
StoreErrorvariants so callers don’t need to match on sqlx internals. - pool
- Postgres connection pool builder.
Constants§
- VERSION
- Crate version stamped at build time.