docs(docs): align PostgreSQL quickstart prisma.config.ts with init output#7826
docs(docs): align PostgreSQL quickstart prisma.config.ts with init output#7826nielskaspers wants to merge 1 commit intoprisma:mainfrom
Conversation
|
@nielskaspers is attempting to deploy a commit to the Prisma Team on Vercel. A member of the Team first needs to authorize it. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughDocumentation example for Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related issues
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Updates the
prisma.config.tssnippet in the PostgreSQL quickstart so it matches whatnpx prisma init --datasource-provider postgresql --output ../generated/prismaactually generates today.Issue
Closes #7818
Changes
apps/docs/content/docs/(index)/prisma-orm/quickstart/postgresql.mdx:// This file was generated by Prisma...comments emitted byprisma initenvnamed import fromprisma/config(no longer included)process.env["DATABASE_URL"]instead ofenv("DATABASE_URL")Notes
The same
prisma.config.tsblock appears in the other quickstart pages (sqlite, mysql, mongodb, sql-server, planetscale, cockroachdb, prisma-postgres). Happy to extend the PR to those files in a follow-up commit if maintainers prefer — kept this one scoped to the file referenced in the issue.Testing
Docs-only change. Snippet content compared against the output of
prisma initreported by the issue author.Summary by CodeRabbit