Schema & type inference (Drizzle, 14 namespaces)
Generated from
pattern-library/registry.json— do not edit by hand; change the registry and runbun run patterns:build.
Index card — the docs below are the canonical explanation; deep-tier pattern pages additionally carry invariants and emulation notes.
Category: Databases & Storage · Tier: light · Maturity: proven (verified 2026-08-20 @ 1a130d67) · Risk: medium — external managed service (Neon Postgres)
Drizzle table definitions split across 14 pgSchema() namespaces and re-exported from a single schema index for compile-time type inference.
When to use: Use when adding or changing database tables and query results need to stay type-safe end to end.
Docs
Code
Proof
Machine-readable record: databases-schema-type-inference in pattern-library/registry.json.