Skip to content

Connecting to PostgreSQL: say where a connection string comes from when you have no database - #540

Merged
gregory-boch-prisma merged 1 commit into
mainfrom
postgresql/connecting-no-database-yet
Nov 3, 2026
Merged

gregory-boch-prisma merged 1 commit into
mainfrom
postgresql/connecting-no-database-yet

Conversation

@gregory-boch-prisma

Copy link
Copy Markdown
Contributor

"Connecting to PostgreSQL databases" shows how to connect with psql once a database exists.

Changes

  • The Introduction now covers the reader whose app setup asks for a connection string before they have a database: create one with a hosted provider, for example with npx create-db, and follow the link for where the string goes in the app. It states that the database is deleted after 24 hours unless claimed with a Prisma account.

Sources checked 2026-11-02

Checks

  • Claims check on the diff and this body.

🤖 Generated with Claude Code

…en you have no database

The Introduction assumed a running server. A reader whose app setup asks for
a connection string now gets the next step: create a database with a hosted
provider, for example with npx create-db, and where the string goes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
dataguide Ready Ready Preview Nov 2, 2026 9:00pm UTC

Request Review

@prisma-gizmo

prisma-gizmo Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

✅ Gizmo reviewed f05c4ec — posted 0 inline comment(s) this pass.

Open findings: none

Change walkthrough

This PR adds one paragraph to the Introduction of content/04-postgresql/06-connecting-to-postgresql-databases.mdx:20 covering readers whose app setup asks for a Postgres connection string before they have any database. It recommends creating a temporary hosted database — specifically npx create-db on Prisma Postgres, which needs no account — states the 24-hour deletion-unless-claimed lifetime, and links a Prisma guide showing where the string goes in the app (DATABASE_URL).

Fit with the article. The paragraph sits directly after the existing pointer to the connection URIs guide, completing the "no database yet → get a string" path before the article dives into psql local/remote connections. It adds no commands or example output, so it does not disturb the article's tested psql material or the fixture-backed verification evidence.

Claim accuracy. Both external sources cited in the PR body check out against the provider's own pages, which I fetched: npx-create-db.md confirms no sign-up is required for a temporary database and a 24-hour default lifetime with account claiming, and free-postgresql-hosting.md confirms instant databases are deleted in 24 hours unless claimed and shows npx create-db printing a connection string. The "in seconds" phrasing matches the linked provider docs' own wording. Both new external links (prisma.io/postgres and the DATABASE_URL guide) resolve, and the anchor text accurately describes the target page's content.

Site conventions. The paragraph keeps the article's voice and structure, follows the repo's external-link style (prisma.io URLs, matching how 03-5-ways-to-host-postgresql.mdx already recommends Prisma Postgres), and leaves lastUpdated unchanged, consistent with the "don't bump dates" rule in AGENTS.md. The article's partial verification level in content-verification.json is not hash-checked by the build's verification gate, so no evidence regeneration is triggered by this prose change.

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

This PR changes the following pages (Vercel Preview Deploy links):

(Note that links will only be valid after Vercel preview deploy succeeded)

@gregory-boch-prisma

Copy link
Copy Markdown
Contributor Author

@prisma-gizmo review

@prisma-gizmo prisma-gizmo Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New findings: none · trace

@prisma-gizmo prisma-gizmo Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No Gizmo finding is open and the head commit has been reviewed. Approving.

@gregory-boch-prisma
gregory-boch-prisma merged commit 6fda0b5 into main Nov 3, 2026
11 of 13 checks passed
@gregory-boch-prisma
gregory-boch-prisma deleted the postgresql/connecting-no-database-yet branch November 3, 2026 08:03

This branch was successfully deployed

1 active deployment
Preview — f05c4ec7 Deployed Nov 2, 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