Skip to content

fix(blog): order local-to-online Postgres moves by steps, then idle free tier; correct the Prisma Postgres step count - #8410

Merged
gregory-boch-prisma merged 3 commits into
mainfrom
fix/p5-move-local-1007
Oct 7, 2026
Merged

gregory-boch-prisma merged 3 commits into
mainfrom
fix/p5-move-local-1007

Conversation

@gregory-boch-prisma

@gregory-boch-prisma gregory-boch-prisma commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Updates the blog post at /blog/from-local-to-production-with-prisma-postgres, which compares five services for moving a Postgres database from a laptop online, and the docs page at /docs/postgres/import-from-existing-database that covers the same move.

Changes

Blog post, apps/blog/content/blog/from-local-to-production-with-prisma-postgres/index.mdx:

  • Title "Move a local Postgres database online (2026): Prisma Postgres, Neon, Render, Railway and Supabase compared", with a new metaTitle and metaDescription.
  • Opening: the steps themselves (create a Prisma Postgres database, pg_dump, pg_restore, point DATABASE_URL at the new string), with or without an ORM. The picks for point-in-time recovery, auth and PostgreSQL 18 moved from the opening to "Where Prisma Postgres is the wrong choice", which now also covers auth and file storage (Supabase).
  • Quick recommendation: the post listed Prisma Postgres first without a stated key. The situation table is replaced by a table with a Rank column, ordered by the steps from an empty account to a restored database, then by what happens to a free database left idle; the order is stated under the table. Prisma Postgres and Neon both take 3 steps and keep a free database with no time limit, so both are rank 1. Render is 3rd (its free database expires 30 days after creation), Railway 4th and Supabase 5th. A second table says which Prisma path to follow.
  • Step counts: the post said Prisma Postgres takes three commands, but from an empty account the CLI path is five (npx prisma auth login, npx prisma project create, npx prisma postgres create, pg_dump, pg_restore). The 3 counted steps now create the database in the Console, and the five-command terminal path is stated as such. Neon is counted on its pg_dump and pg_restore guide (3 steps) rather than its Import Data Assistant (4 steps), which is in Beta.
  • New section "Any app: create the database, pg_dump, pg_restore, swap DATABASE_URL".
  • "How we compared" now says Prisma makes Prisma Postgres, that the other rows rest on each vendor's own pages as read on 2026-10-07, and how a step is counted. It replaces "We make Prisma Postgres and list it first".
  • The detailed comparison table drops its step column, adds "no time limit" to the Prisma Postgres free tier, and adds Neon's pg_dump path and Railway's trial terms.
  • The Prisma ORM checklist moved under "If your app uses Prisma ORM" (its H2s are now H3s), with a note to run pg_restore into a database only once.
  • New first FAQ entry: "Which service makes it easy to move a local Postgres database online?".
  • Removed the Prisma Postgres Free storage figure and the line that the Free plan covers the app and the database. The post now says the Free plan includes a Compute allowance with no usage billing, while paid plans meter Compute memory, CPU and bandwidth.
  • updatedAt: "2026-10-07", sources re-dated, and an update-history line.

Docs, apps/docs/content/docs/postgres/import-from-existing-database.mdx:

  • Creating the database in the Console is now step 1, and the page says so: three steps (create the database, pg_dump, pg_restore). The meta title and description say "three steps", not "three commands".
  • New section "Create the database from a terminal": three commands to create the database, five for the whole import.
  • The Free plan answer drops the storage figure and adds "no time limit". The Compute paragraph no longer says "on one plan" and says Composer is in Early Access. Related pages link the blog comparison.

Same wording elsewhere: "three commands" becomes "three steps" in apps/docs/content/docs/postgres/index.mdx, apps/docs/content/docs/postgres/database/connecting-to-your-database.mdx and the /postgres FAQ answer in apps/site/src/components/product/content/postgres.ts, which also drops its "500 MB" figure and names the terminal commands.

Sources checked 2026-10-07

Prisma, on the live pages and in the docs in this repo:

Competitors, each on the vendor's own page and dated "as of October 2026" in the post:

  • Neon: pg_dump/pg_restore guide, Import Data Assistant (Beta, under 10 GB, Postgres 14 to 17), scale to zero (suspends after 5 minutes, wakes within a few hundred ms; fixed on Free), pricing (no time limit, no credit card, 100 projects, 10 branches, 100 CU-hours, 1 GB per project; history up to 6 hours / 7 / 30 days), version policy (14 to 18).
  • Render: free tier (expires 30 days after creation, 14-day grace, then deleted; 1 GB; one per workspace), creating and connecting (13 to 18), backups.
  • Railway: pricing (30-day trial with $5, then $1 a month, 0.5 GB volume, no card; Hobby $5 with $5 usage), free trial (trial-created volumes deleted 30 days after credits expire), Postgres guide (private by default, Public Access creates the TCP proxy and DATABASE_PUBLIC_URL, billed as egress), postgres-ssl (latest = 16).
  • Supabase: pricing (paused after 1 week of inactivity, 2 active projects, 500 MB, 50,000 MAU, 1 GB file storage), migration guide (5 steps, roles and RLS status not migrated), supabase/postgres (15 and 17).

Checks

  • check-ai-signs.sh, check-plain.sh, check-staccato.py on all four changed .mdx files: clean on every line this PR touches (two staccato hits remain in docs/postgres/index.mdx lines 35 and 94, both pre-existing and untouched).
  • apps/blog: pnpm run lint:links → 0 errors. It does not validate same-page anchors, so the new #any-app-..., #if-your-app-uses-prisma-orm and #create-the-database-from-a-terminal anchors were checked with github-slugger 2.0.0.
  • apps/docs: pnpm run lint:links → 0 errors (719 files); cspell on the three changed docs files → 0 issues.
  • oxfmt --check on the site file → clean.
  • Reader review: one self-review round; no separate reader round ran.
  • Not done here: the docs sitemap lastmod for this page.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Updated the PostgreSQL migration guide with a three-step Console workflow and a terminal alternative using Prisma CLI commands.
    • Clarified when to use pooled versus direct connection strings, and retained guidance on PostgreSQL 17 tools and unsupported extensions.
    • Revised migration instructions across related guides and product FAQs.
    • Updated Free plan details to state there is no time limit, and added a link to a comparison of database providers.
  • New Features
    • Added an “Any app” migration path and a provider comparison in the updated blog post.

… tier; count the Prisma steps honestly

Retitle the from-local post around moving a local Postgres database online,
replace "we list it first" with stated criteria (steps from an empty account
to a restored database, then what a free database left idle does), add a
"Free database left idle" column, an "Any app" section and the FAQ "Which
service makes it easy to move a local Postgres database online?", and move
the Prisma ORM checklist under its own heading.

Make the import docs page lead with the Console path (three steps) and give
the terminal path its real count (auth login, project create, postgres
create: five commands in all). Align the other "three commands" mentions in
the Postgres docs and the /postgres FAQ, drop the Free storage figure, and
mark Prisma Composer as Early Access where the existing-repo path appears.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@vercel

vercel Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
blog Ready Ready Preview Oct 7, 2026 12:13pm UTC
docs Ready Ready Preview Oct 7, 2026 12:13pm UTC
eclipse Ready Ready Preview Oct 7, 2026 12:13pm UTC
site Ready Ready Preview Oct 7, 2026 12:13pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
handbook Skipped Skipped Oct 7, 2026 12:13pm UTC

Request Review

@coderabbitai

coderabbitai Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: b677a588-6fec-4845-a20b-f381b4df21ed
📥 Commits

Reviewing files that changed from the base of the PR and between 9cdecd1 and b8358da.

📒 Files selected for processing (5)
  • apps/blog/content/blog/from-local-to-production-with-prisma-postgres/index.mdx
  • apps/docs/content/docs/postgres/database/connecting-to-your-database.mdx
  • apps/docs/content/docs/postgres/import-from-existing-database.mdx
  • apps/docs/content/docs/postgres/index.mdx
  • apps/site/src/components/product/content/postgres.ts

Included review availability: This review used your included allowance. 1 included review remains after this review. Your included PR review attempts over the past 7 days set your current allowance at 4 reviews per hour.


Walkthrough

The blog compares five database providers and adds Prisma Postgres import instructions. The PostgreSQL documentation and product FAQ update their migration steps, connection-string guidance, and Free plan details.

Changes

PostgreSQL migration guidance

Layer / File(s) Summary
Provider comparison and choices
apps/blog/content/blog/from-local-to-production-with-prisma-postgres/index.mdx
The article updates its provider ranking, import and free-tier comparisons, decision guidance, FAQ, and source list.
Prisma Postgres restore workflow
apps/blog/content/blog/from-local-to-production-with-prisma-postgres/index.mdx, apps/docs/content/docs/postgres/*
The instructions cover database creation, local database dumps, restores through the direct connection, and application use of the pooled connection. The documentation also adds a terminal alternative and updates links to the migration steps.
ORM and plan details
apps/blog/content/blog/from-local-to-production-with-prisma-postgres/index.mdx, apps/docs/content/docs/postgres/import-from-existing-database.mdx, apps/site/src/components/product/content/postgres.ts
The article separates the Prisma ORM checklist. The documentation and product FAQ update Free plan details and related migration information.

Priority: ⬇️ Low

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Other

Suggested reviewers: ankur-arch

Merge Risk: ⚪ Minimal · up to b8358

The migration guidance has no identified issue that should delay merging.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the blog comparison and the related clarification of Prisma migration steps. It is lengthy, but it remains specific and relevant to the main changes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

🍈 Lychee Link Check Report

70 links: ✅ 10 OK | 🚫 0 errors | 🔀 5 redirects | 👻 60 excluded

✅ All links are working!


Full Statistics Table
Status Count
✅ Successful 10
🔀 Redirected 5
👻 Excluded 60
🚫 Errors 0
⛔ Unsupported 0
⏳ Timeouts 0
❓ Unknown 0

…-to-online post

The new Any app section and the Prisma ORM checklist both create the
database and restore the dump, while the checklist intro said "the steps
above copy the data". A reader following the page top to bottom restored
twice, which the post itself says needs a new, empty database. The Any app
section now points Prisma ORM projects to the checklist, and the checklist
says to follow it instead and to restore once.

Also drop "the same Prisma project can also host the app": the deploy CLI
docs say a deploy creates or reuses its own project and stops on a
same-name project it cannot verify. Say Prisma can host the app next to
the database instead. The FAQ answer now says "three steps to a restored
database" after listing four actions.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
#8344 removed "Early Access" labels for Prisma Composer from blog posts on
purpose (the docs carry the label; posts state neither Early Access nor GA).
Today's edits had added it back; this removes it again, history lines included.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@gregory-boch-prisma

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@gregory-boch-prisma
gregory-boch-prisma merged commit c6a8d7b into main Oct 7, 2026
26 of 27 checks passed
@gregory-boch-prisma
gregory-boch-prisma deleted the fix/p5-move-local-1007 branch October 7, 2026 12:41
@gregory-boch-prisma gregory-boch-prisma changed the title fix(blog): rank local-to-online Postgres moves by steps and idle free tier; count the Prisma steps honestly fix(blog): order local-to-online Postgres moves by steps, then idle free tier; correct the Prisma Postgres step count Oct 21, 2026

This branch was successfully deployed

4 active and 1 inactive deployments
Preview – docs — b8358dac Deployed Oct 7, 2026 by vercel[bot]
Preview – site — b8358dac Deployed Oct 7, 2026 by vercel[bot]
Preview – blog — b8358dac Deployed Oct 7, 2026 by vercel[bot]
Preview – eclipse — b8358dac Deployed Oct 7, 2026 by vercel[bot]
Preview – handbook — b8358dac Deployed Oct 7, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant