pealdevDOCS
Back to peal.dev

SAAS STARTER · DATABASE

Database

Drizzle + Postgres. Type-safe queries, migrations that don't lie.

Schema lives next to code that uses it

Edit src/db/schema.ts, then push or generate a migration.

Terminal
bun db:push     # quick, dev-only
bun db:migrate  # generate + run a real migration