Skip to main content

Crate gize_db

Crate gize_db 

Source
Expand description

Data-layer conventions for Gize (ADR-003, ADR-011).

MVP scope is intentionally thin: it centralises the mapping between Gize field types and Postgres column types so generators and (future) migration diffing agree. The SQLx pool wiring lives in generated app code, not here.

Modules§

migrate
Running database migrations via SQLx’s runtime migrator (ADR-011).

Functions§

pg_column_type
The Postgres column type for a Gize field type. Single source of truth reused by the migration templates.