Prisma Blog
Read post

From Local Development to Production with Prisma Postgres

A step-by-step checklist for migrating a Prisma project from local development (Docker Postgres or `prisma dev`) to hosted Prisma Postgres in production. Covers five key steps: local setup with `prisma dev` or Docker, creating the hosted database via Prisma Console, updating environment variables and config with pooled vs. direct connection strings, moving schema and data (fresh deploy with `migrate deploy` or full data copy via `pg_dump`/`pg_restore`), and validating with migration status checks, row counts, and smoke tests. Highlights the difference between pooled and direct connection strings, PgBouncer transaction mode limitations, and how to keep the local development loop intact after deployment.

    #database#postgresql#prisma
Jul 31•13m read time•From prisma.io
Post cover image
Table of contents
The local-to-production gapStart local: prisma dev or DockerCreate the hosted databaseUpdate env and configMove the schema and the dataValidate, then deployFrequently asked questionsRecap
328 Impressions
Prisma Blog's image
Prisma Blog

13 Followers

•

88 Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard