docs/commands/db.md
Manage database workflows and backends (Jazz + Postgres).
f db <provider> <action>
Create Jazz2 app credentials and populate env vars for the current project.
f db jazz new --kind mirror --name gitedit-mirror
Resolution order for the credential bootstrap helper:
jazz-tools binary on PATHnpx --yes [email protected]For deliberate experiments, override the pinned fallback with:
FLOW_JAZZ_TOOLS_PACKAGE_SPEC=jazz-tools@<version> f db jazz new --kind mirror
Run Drizzle migrations for the default Postgres project (~/org/la/la/server).
f db postgres migrate
f db postgres migrate --generate
f db postgres generate
Environment resolution order for DATABASE_URL:
--database-url flagDATABASE_URLPLANETSCALE_DATABASE_URL / PSCALE_DATABASE_URL<project>/.env (DATABASE_URL)Use --project to override the Postgres project directory.