Skip to content

fix: clarify schema.prisma file location better DC-6209#7261

Merged
ankur-arch merged 1 commit intoprisma-7from
DC-6209
Nov 17, 2025
Merged

fix: clarify schema.prisma file location better DC-6209#7261
ankur-arch merged 1 commit intoprisma-7from
DC-6209

Conversation

@ankur-arch
Copy link
Contributor

@ankur-arch ankur-arch commented Nov 16, 2025

Summary by CodeRabbit

  • Documentation
    • Restructured Prisma schema setup guidance to clarify multi-file organization and directory structure
    • Updated examples to reflect Prisma ORM v7 configuration patterns with explicit migrations and datasource settings
    • Added visual directory illustrations and documented default CLI behavior for schema file discovery

@ankur-arch ankur-arch self-assigned this Nov 16, 2025
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 16, 2025

Walkthrough

This change updates documentation for Prisma schema file organization, shifting guidance from a single-file approach to a structured multi-file workflow aligned with Prisma ORM v7. The update clarifies that schema files reside in a prisma/ directory, emphasizes that the main schema.prisma containing generator blocks must be in the configured location, and updates examples accordingly.

Changes

Cohort / File(s) Summary
Prisma schema location documentation
content/200-orm/100-prisma-schema/10-overview/04-location.mdx
Reworked guidance on multi-file schema organization to reflect Prisma ORM v7 config-based setup; updated examples to show explicit migrations and datasource settings with dotenv configuration; replaced single-file references with directory-structured workflow; added info block clarifying default CLI behavior; adjusted narrative to emphasize main schema location within configured prisma/ directory.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

  • Verify accuracy of Prisma ORM v7 configuration examples against current documentation standards
  • Confirm directory structure illustrations align with Prisma CLI conventions
  • Validate that migration path guidance matches actual CLI behavior in v7

Possibly related PRs

Pre-merge checks

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and specifically describes the main change: clarifying schema.prisma file location guidance in the documentation.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

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

@github-actions
Copy link
Contributor

Dangerous URL check

No absolute URLs to prisma.io/docs found.
No local URLs found.

@github-actions
Copy link
Contributor

Redirect check

This PR probably requires the following redirects to be added to static/_redirects:

  • This PR does not change any pages in a way that would require a redirect.

@cloudflare-workers-and-pages
Copy link

Deploying docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4ac932f
Status: ✅  Deploy successful!
Preview URL: https://4033fb60.docs-51g.pages.dev
Branch Preview URL: https://dc-6209.docs-51g.pages.dev

View logs

@github-actions
Copy link
Contributor

🍈 Lychee Link Check Report

Note: Links are cached for 5 minutes. Failed links (timeouts, rate limits) are retried in a second run with longer timeout.

📊 Results Overview

Status Count
🔍 Total 2269
✅ Successful 2241
⏳ Timeouts 0
🔀 Redirected 4
👻 Excluded 22
❓ Unknown 0
🚫 Errors 1
⛔ Unsupported 1

Errors per input

Errors in 200-orm/050-overview/500-databases/840-cockroachdb.mdx

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
content/200-orm/100-prisma-schema/10-overview/04-location.mdx (1)

72-72: Fix typo: remove duplicate "the".

Line 72 has a duplicate word: "pass the the --schema" should be "pass the --schema".

- pass the the `--schema` option to your Prisma CLI command (e.g. `prisma migrate dev --schema ./prisma`)
+ pass the `--schema` option to your Prisma CLI command (e.g. `prisma migrate dev --schema ./prisma`)
🧹 Nitpick comments (1)
content/200-orm/100-prisma-schema/10-overview/04-location.mdx (1)

68-97: Clarify directory vs. file path specification in the intro text.

The introductory text at line 68 states "you must always explicitly specify the location of the directory that contains your schema files," but the examples show both directory paths (lines 72, 78: ./prisma) and file paths (line 88: prisma/schema.prisma). While both work based on the warning at line 107, this could confuse users about which approach is expected. Consider revising line 68 to clarify that you can specify either the directory or the file path directly.

- When using a multi-file Prisma schema, you must always explicitly specify the location of the directory that contains your schema files (including the main `schema.prisma` file with your `generator` block).
+ When using a multi-file Prisma schema, you must always explicitly specify the location of the schema directory (or file path) to ensure the Prisma CLI can locate the `schema.prisma` file with your `generator` block.
📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between c2671d7 and 4ac932f.

📒 Files selected for processing (1)
  • content/200-orm/100-prisma-schema/10-overview/04-location.mdx (4 hunks)
🧰 Additional context used
🧠 Learnings (3)
📓 Common learnings
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7165
File: content/800-guides/550-test-guide.mdx:85-90
Timestamp: 2025-10-08T16:23:00.388Z
Learning: For .mdx files in the prisma/docs repository: All headings and titles should use sentence case (e.g., "Getting started with Prisma ORM", "Best practices for authentication"), not title case. Exception: Always preserve exact casing for product names including "Prisma Postgres", "Prisma", "Prisma ORM", and "Prisma Data Platform".
📚 Learning: 2025-10-08T16:23:00.388Z
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7165
File: content/800-guides/550-test-guide.mdx:85-90
Timestamp: 2025-10-08T16:23:00.388Z
Learning: For .mdx files in the prisma/docs repository: All headings and titles should use sentence case (e.g., "Getting started with Prisma ORM", "Best practices for authentication"), not title case. Exception: Always preserve exact casing for product names including "Prisma Postgres", "Prisma", "Prisma ORM", and "Prisma Data Platform".

Applied to files:

  • content/200-orm/100-prisma-schema/10-overview/04-location.mdx
📚 Learning: 2025-10-09T21:32:50.340Z
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7167
File: content/900-ai/prompts/astro.mdx:84-84
Timestamp: 2025-10-09T21:32:50.340Z
Learning: The `npx prisma init` command supports the following flags: `--db` (shorthand for `--datasource-provider prisma+postgres`), `--output` (specifies output location for generated client), `--generator-provider` (defines the generator provider), `--datasource-provider`, `--url`, `--preview-feature`, and `--with-model`. These are documented valid CLI options for Prisma init command.

Applied to files:

  • content/200-orm/100-prisma-schema/10-overview/04-location.mdx
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
  • GitHub Check: Check internal links
  • GitHub Check: Check links
  • GitHub Check: Cloudflare Pages
🔇 Additional comments (2)
content/200-orm/100-prisma-schema/10-overview/04-location.mdx (2)

105-130: Well-structured clarifications on schema location requirements.

The new warning block (lines 105–109) clearly emphasizes that schema.prisma must be in the configured directory, and the info box (lines 126–130) helpfully notes that the CLI works without additional config when using the default ./prisma/schema.prisma location. These additions significantly improve clarity for users adopting multi-file schemas.


84-96: The prisma.config.ts example is correct and current for Prisma v7.

The imports (defineConfig, env from "prisma/config"), function signature, and configuration properties (schema, migrations, datasource) all match Prisma v7 documentation. The migrations.seed property is a valid Prisma v7 configuration option for defining the shell command to run after migrations. The optional engine property is correctly omitted here (it defaults to "classic"). String paths like "prisma/schema.prisma" are valid and work because Prisma resolves paths relative to the config file location.

No changes needed.

@ankur-arch ankur-arch merged commit 1db29fe into prisma-7 Nov 17, 2025
5 of 6 checks passed
@ankur-arch ankur-arch deleted the DC-6209 branch November 17, 2025 09:12
AmanVarshney01 added a commit that referenced this pull request Nov 19, 2025
* DC-5044 `prisma-client-js` deprecated (#7219)

* `prisma-client-js` deprecated

* chore: empty commit

* broken link updated

* DC-5040 Env Vars via Config (#7227)

* added env vars section to various pages

* minor coderabbit updates

* verbose removed

* test removed redirect list

* removed quickstart addition

* converted quickstarts back

* urls deprecated (#7226)

* minimum version uodated (#7234)

* DC-5043 Middleware removed from docs (#7233)

* middleware deleted

* more middleware removed

* more middleware removed

* coderabbit changes

* DC-6174: Remove adapter, engine, directUrl, studio from config (#7256)

* feat: add new features

* fix: revert links

* fix: broken links

* fix: broken link

* feat: restructure getting started side nav (#7245)

* feat(docs): add youtube embeded link to blog post (#7220)

Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>

* feat(docs): add quick  section to blog after the prompt (#7221)

Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>

* DC-5242 Astro Better-Auth Guide (#7215)

* doc created

* nextjs betterauth fixed

* guide broken down into manageable steps

* image added

* Optimised images with calibre/image-actions

* image updated

* Optimised images with calibre/image-actions

* lychee only comments on broken links

* config updated

* lychee updated based on CR comment

* chore: trigger CI checks

* ignore gnu

* fix: update naming to better-auth DC-6120

* Optimised images with calibre/image-actions

* chore: shorten word

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com>

* feat: restructure getting started side nav

* DC-5841 Removed Linkspector (#7231)

* removed linkspector

* retrigger

* retrigger

* retrigger

* Update label for Prisma Postgres tab (#7236)

* fix: content changes for getting started page (#7216)

* fix: content changes for getting started page

* fix: add redirects

* getting started checkpoint

* css styles fixed

* updates

---------

Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>

* DC-5820 AI Agents Served Markdown (#7237)

* ai crawler check successful

* ai crawlers checked

* update

* added anthropic

* middleware update

* improve detection

---------

Co-authored-by: Mike Hartington <mikehartington@gmail.com>

* feat: add prisma-orm quickstarts

* fix: update times and add proper links

* fix: instropspect changes

* feat: add get started from prisma orm page

* feat: add other orms

* fix: update other tools + ppg

* fix: add more clarity

* fix: add prisma postgres

* feat: clear migrate from early access

* fix: add to existing dbs sections

* Remove MCP server exploration tip (#7241)

Removed tip about using Cloudflare's AI Playground for MCP server exploration, as it no longer seems to reliably work.

* fix: clean-up docs files

* fix: typeorm missing urls

* fix: broken link

* fix: update titles

* fix: clear redirect loop (#7250)

* fix: add generate step + sqlite fixes

* fix: clean-up redirects file DC-6228

* fix: clean-up unnecessary file

* fix: remove unknown word

* fix: add links

---------

Co-authored-by: Arthur <arthur_gamby@hotmail.fr>
Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>
Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Petra Donka <donkapetra@gmail.com>
Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Mike Hartington <mikehartington@gmail.com>

* feat: update .env docs DC-6204 (#7259)

* fix: clarify config file path better (#7261)

* Update ORM docs (#7260)

* update

* use pg adapter instead of accelerate

* update

* add dotenv in prisma.config.ts

* fix warning note

* update

* update

* Update guides to use prisma.config.ts (#7243)

* (feat) Update guides to use prisma.config.ts

* refactor: Updated guides for Prisma 7 changes

---------

Co-authored-by: Aman Varshney <amanvarshney.work@gmail.com>

* feat: update ppg for other dbs section (#7264)

* feat: add kysley

* feat: add drizzle

* feat: add typeorm

* fix: clean-up

* feat: separate the sections better

* fix: remove badges

* feat: update prisma init related changes in other parts (#7267)

* feat: add kysley

* feat: add drizzle

* feat: add typeorm

* fix: clean-up

* fix: update prisma init command changes

* feat: update prisma cli docs

* fix: clarify the usage of prisma init better

* fix: add type defs

* feat: add pg as a dependency

* fix: broken internal link

* Update docs to perform migrations with connection pooling and Prisma config (#7266)

* feat: add mentions of new Prisma Studio (#7270)

* feat: add mentions of new Prisma Studio

* feat: add note for Studio for SQLite

* Update content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx

* Update content/100-getting-started/02-prisma-orm/200-add-to-existing-project/200-sqlite.mdx

* fix: make prisma studio docs more accurate

* fix: add missing punctuation

* feat: add mention of mongo support coming for P7 (#7271)

* feat: add mention of mongo support coming for mongo

* fix: refinements

* Update content/100-getting-started/02-prisma-orm/200-add-to-existing-project/800-mongodb.mdx

* docs(postgres): remove accelerate reference
Remove reference to accelerate and rework the docs to account for the new v7 changes

* Optimised images with calibre/image-actions

* docs(): update with feedback

* Optimised images with calibre/image-actions

* docs(ppg): updates

* docs(): update based on feedback

* docs(): update based on feedback

---------

Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>
Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com>
Co-authored-by: Arthur <arthur_gamby@hotmail.fr>
Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Petra Donka <donkapetra@gmail.com>
Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Aman Varshney <amanvarshney.work@gmail.com>
Co-authored-by: Nurul Sundarani <sundarani@prisma.io>
AmanVarshney01 added a commit that referenced this pull request Nov 19, 2025
* DC-5044 `prisma-client-js` deprecated (#7219)

* `prisma-client-js` deprecated

* chore: empty commit

* broken link updated

* DC-5040 Env Vars via Config (#7227)

* added env vars section to various pages

* minor coderabbit updates

* verbose removed

* test removed redirect list

* removed quickstart addition

* converted quickstarts back

* urls deprecated (#7226)

* minimum version uodated (#7234)

* DC-5043 Middleware removed from docs (#7233)

* middleware deleted

* more middleware removed

* more middleware removed

* coderabbit changes

* docs(metrics): remove metrics API

* DC-6174: Remove adapter, engine, directUrl, studio from config (#7256)

* feat: add new features

* fix: revert links

* fix: broken links

* fix: broken link

* feat: restructure getting started side nav (#7245)

* feat(docs): add youtube embeded link to blog post (#7220)

Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>

* feat(docs): add quick  section to blog after the prompt (#7221)

Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>

* DC-5242 Astro Better-Auth Guide (#7215)

* doc created

* nextjs betterauth fixed

* guide broken down into manageable steps

* image added

* Optimised images with calibre/image-actions

* image updated

* Optimised images with calibre/image-actions

* lychee only comments on broken links

* config updated

* lychee updated based on CR comment

* chore: trigger CI checks

* ignore gnu

* fix: update naming to better-auth DC-6120

* Optimised images with calibre/image-actions

* chore: shorten word

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com>

* feat: restructure getting started side nav

* DC-5841 Removed Linkspector (#7231)

* removed linkspector

* retrigger

* retrigger

* retrigger

* Update label for Prisma Postgres tab (#7236)

* fix: content changes for getting started page (#7216)

* fix: content changes for getting started page

* fix: add redirects

* getting started checkpoint

* css styles fixed

* updates

---------

Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>

* DC-5820 AI Agents Served Markdown (#7237)

* ai crawler check successful

* ai crawlers checked

* update

* added anthropic

* middleware update

* improve detection

---------

Co-authored-by: Mike Hartington <mikehartington@gmail.com>

* feat: add prisma-orm quickstarts

* fix: update times and add proper links

* fix: instropspect changes

* feat: add get started from prisma orm page

* feat: add other orms

* fix: update other tools + ppg

* fix: add more clarity

* fix: add prisma postgres

* feat: clear migrate from early access

* fix: add to existing dbs sections

* Remove MCP server exploration tip (#7241)

Removed tip about using Cloudflare's AI Playground for MCP server exploration, as it no longer seems to reliably work.

* fix: clean-up docs files

* fix: typeorm missing urls

* fix: broken link

* fix: update titles

* fix: clear redirect loop (#7250)

* fix: add generate step + sqlite fixes

* fix: clean-up redirects file DC-6228

* fix: clean-up unnecessary file

* fix: remove unknown word

* fix: add links

---------

Co-authored-by: Arthur <arthur_gamby@hotmail.fr>
Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>
Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Petra Donka <donkapetra@gmail.com>
Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Mike Hartington <mikehartington@gmail.com>

* feat: update .env docs DC-6204 (#7259)

* fix: clarify config file path better (#7261)

* Update ORM docs (#7260)

* update

* use pg adapter instead of accelerate

* update

* add dotenv in prisma.config.ts

* fix warning note

* update

* update

* Update guides to use prisma.config.ts (#7243)

* (feat) Update guides to use prisma.config.ts

* refactor: Updated guides for Prisma 7 changes

---------

Co-authored-by: Aman Varshney <amanvarshney.work@gmail.com>

* feat: update ppg for other dbs section (#7264)

* feat: add kysley

* feat: add drizzle

* feat: add typeorm

* fix: clean-up

* feat: separate the sections better

* fix: remove badges

* feat: update prisma init related changes in other parts (#7267)

* feat: add kysley

* feat: add drizzle

* feat: add typeorm

* fix: clean-up

* fix: update prisma init command changes

* feat: update prisma cli docs

* fix: clarify the usage of prisma init better

* fix: add type defs

* feat: add pg as a dependency

* fix: broken internal link

* Update docs to perform migrations with connection pooling and Prisma config (#7266)

* feat: add mentions of new Prisma Studio (#7270)

* feat: add mentions of new Prisma Studio

* feat: add note for Studio for SQLite

* Update content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx

* Update content/100-getting-started/02-prisma-orm/200-add-to-existing-project/200-sqlite.mdx

* fix: make prisma studio docs more accurate

* fix: add missing punctuation

* feat: add mention of mongo support coming for P7 (#7271)

* feat: add mention of mongo support coming for mongo

* fix: refinements

* Update content/100-getting-started/02-prisma-orm/200-add-to-existing-project/800-mongodb.mdx

* Restore content/200-orm/200-prisma-client/600-observability-and-logging/240-metrics.mdx

* docs(): update based on feedback

* Update content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/115-connection-pool.mdx

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>
Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com>
Co-authored-by: Arthur <arthur_gamby@hotmail.fr>
Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Petra Donka <donkapetra@gmail.com>
Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Aman Varshney <amanvarshney.work@gmail.com>
Co-authored-by: Nurul Sundarani <sundarani@prisma.io>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
mhessdev pushed a commit that referenced this pull request Nov 19, 2025
* DC-5044 `prisma-client-js` deprecated (#7219)

* `prisma-client-js` deprecated

* chore: empty commit

* broken link updated

* DC-5040 Env Vars via Config (#7227)

* added env vars section to various pages

* minor coderabbit updates

* verbose removed

* test removed redirect list

* removed quickstart addition

* converted quickstarts back

* urls deprecated (#7226)

* minimum version uodated (#7234)

* DC-5043 Middleware removed from docs (#7233)

* middleware deleted

* more middleware removed

* more middleware removed

* coderabbit changes

* DC-6174: Remove adapter, engine, directUrl, studio from config (#7256)

* feat: add new features

* fix: revert links

* fix: broken links

* fix: broken link

* feat: restructure getting started side nav (#7245)

* feat(docs): add youtube embeded link to blog post (#7220)

Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>

* feat(docs): add quick  section to blog after the prompt (#7221)

Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>

* DC-5242 Astro Better-Auth Guide (#7215)

* doc created

* nextjs betterauth fixed

* guide broken down into manageable steps

* image added

* Optimised images with calibre/image-actions

* image updated

* Optimised images with calibre/image-actions

* lychee only comments on broken links

* config updated

* lychee updated based on CR comment

* chore: trigger CI checks

* ignore gnu

* fix: update naming to better-auth DC-6120

* Optimised images with calibre/image-actions

* chore: shorten word

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com>

* feat: restructure getting started side nav

* DC-5841 Removed Linkspector (#7231)

* removed linkspector

* retrigger

* retrigger

* retrigger

* Update label for Prisma Postgres tab (#7236)

* fix: content changes for getting started page (#7216)

* fix: content changes for getting started page

* fix: add redirects

* getting started checkpoint

* css styles fixed

* updates

---------

Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>

* DC-5820 AI Agents Served Markdown (#7237)

* ai crawler check successful

* ai crawlers checked

* update

* added anthropic

* middleware update

* improve detection

---------

Co-authored-by: Mike Hartington <mikehartington@gmail.com>

* feat: add prisma-orm quickstarts

* fix: update times and add proper links

* fix: instropspect changes

* feat: add get started from prisma orm page

* feat: add other orms

* fix: update other tools + ppg

* fix: add more clarity

* fix: add prisma postgres

* feat: clear migrate from early access

* fix: add to existing dbs sections

* Remove MCP server exploration tip (#7241)

Removed tip about using Cloudflare's AI Playground for MCP server exploration, as it no longer seems to reliably work.

* fix: clean-up docs files

* fix: typeorm missing urls

* fix: broken link

* fix: update titles

* fix: clear redirect loop (#7250)

* fix: add generate step + sqlite fixes

* fix: clean-up redirects file DC-6228

* fix: clean-up unnecessary file

* fix: remove unknown word

* fix: add links

---------

Co-authored-by: Arthur <arthur_gamby@hotmail.fr>
Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>
Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Petra Donka <donkapetra@gmail.com>
Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Mike Hartington <mikehartington@gmail.com>

* feat: update .env docs DC-6204 (#7259)

* fix: clarify config file path better (#7261)

* Update ORM docs (#7260)

* update

* use pg adapter instead of accelerate

* update

* add dotenv in prisma.config.ts

* fix warning note

* update

* update

* Update guides to use prisma.config.ts (#7243)

* (feat) Update guides to use prisma.config.ts

* refactor: Updated guides for Prisma 7 changes

---------

Co-authored-by: Aman Varshney <amanvarshney.work@gmail.com>

* feat: update ppg for other dbs section (#7264)

* feat: add kysley

* feat: add drizzle

* feat: add typeorm

* fix: clean-up

* feat: separate the sections better

* fix: remove badges

* feat: update prisma init related changes in other parts (#7267)

* feat: add kysley

* feat: add drizzle

* feat: add typeorm

* fix: clean-up

* fix: update prisma init command changes

* feat: update prisma cli docs

* fix: clarify the usage of prisma init better

* fix: add type defs

* feat: add pg as a dependency

* fix: broken internal link

* Update docs to perform migrations with connection pooling and Prisma config (#7266)

* feat: add mentions of new Prisma Studio (#7270)

* feat: add mentions of new Prisma Studio

* feat: add note for Studio for SQLite

* Update content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx

* Update content/100-getting-started/02-prisma-orm/200-add-to-existing-project/200-sqlite.mdx

* fix: make prisma studio docs more accurate

* fix: add missing punctuation

* feat: add mention of mongo support coming for P7 (#7271)

* feat: add mention of mongo support coming for mongo

* fix: refinements

* Update content/100-getting-started/02-prisma-orm/200-add-to-existing-project/800-mongodb.mdx

* (feat) Removes Accelerate specific instructions for Prisma Postgres (#7268)

* (feat) Removes Accelerate specific instructions for Prisma Postgres

* feat: update Deno integration guide to include additional development dependencies

* Update Cloudflare D1 Guides (#7273)

* feat: update serverless driver docs (#7272)

* feat: update serverless driver docs

* feat: add connection pool defaults

* feat: add query caching steps for prisma postgres

* Update content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/115-connection-pool.mdx

* Update content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/index.mdx

* Update content/200-orm/050-overview/500-databases/200-database-drivers.mdx

* Update content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/115-connection-pool.mdx

* docs(): add v7 migration guide (#7249)

* docs(): add v7 migration guide

* docs(): update based on feedback

* Update content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/400-upgrading-to-prisma-7.mdx

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* docs(): update based on feedback

* docs(): update based on feedback

* docs(): update based on feedback

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* update turso guide (#7274)

* (feat) Explicitly running prisma generate after migrate dev command and import updates (#7276)

* Update nuxt guides (#7275)

* update nuxt guide

* update

* broken link fix

* broken link fixed

* fix: add SQLite notes (#7277)

* fix: add SQLite notes

* fix: update serverless driver doc

* feat: add callout

* Prisma 7 merge fix (#7278)

* feat(docs): add youtube embeded link to blog post (#7220)

Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>

* feat(docs): add quick  section to blog after the prompt (#7221)

Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>

* DC-5242 Astro Better-Auth Guide (#7215)

* doc created

* nextjs betterauth fixed

* guide broken down into manageable steps

* image added

* Optimised images with calibre/image-actions

* image updated

* Optimised images with calibre/image-actions

* lychee only comments on broken links

* config updated

* lychee updated based on CR comment

* chore: trigger CI checks

* ignore gnu

* fix: update naming to better-auth DC-6120

* Optimised images with calibre/image-actions

* chore: shorten word

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com>

* DC-5841 Removed Linkspector (#7231)

* removed linkspector

* retrigger

* retrigger

* retrigger

* Update label for Prisma Postgres tab (#7236)

* fix: content changes for getting started page (#7216)

* fix: content changes for getting started page

* fix: add redirects

* getting started checkpoint

* css styles fixed

* updates

---------

Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>

* DC-5820 AI Agents Served Markdown (#7237)

* ai crawler check successful

* ai crawlers checked

* update

* added anthropic

* middleware update

* improve detection

---------

Co-authored-by: Mike Hartington <mikehartington@gmail.com>

* Remove MCP server exploration tip (#7241)

Removed tip about using Cloudflare's AI Playground for MCP server exploration, as it no longer seems to reliably work.

* fix: clear redirect loop (#7250)

* Fix typo in environment variables reference (#7193)

* Fix typo in environment variables reference

* remove duplicate can be

---------

Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com>

* chore(): add summary sections to top pages (#7228)

* DC-6234 Getting Started Page Updates (#7254)

* arrow added

* quickstart card hover

* always copy button added

* hover effect on copy button

* spcaer added

* pointless css removed

* updaets

* fuctional

* revewrt

* fixed for mobile

* link fix

---------

Co-authored-by: Arthur <arthur_gamby@hotmail.fr>
Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com>
Co-authored-by: Petra Donka <donkapetra@gmail.com>
Co-authored-by: Mike Hartington <mikehartington@gmail.com>
Co-authored-by: Odysseus Zhang <b1fzhang@gmail.com>
Co-authored-by: Mike Hartington <mhartington@users.noreply.github.com>

* spell check words added

* Update content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx

* `pgcrypto` added to spellcheck

* Update content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx

* Update content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx

* Update content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx

Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com>

* docs(): add note about vscode version pinning (#7279)

* docs(): add note about vscode version pinning

* Optimised images with calibre/image-actions

* Update content/250-postgres/350-integrations/500-vscode.mdx

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* docs(postgres): remove accelerate reference (#7246)

* DC-5044 `prisma-client-js` deprecated (#7219)

* `prisma-client-js` deprecated

* chore: empty commit

* broken link updated

* DC-5040 Env Vars via Config (#7227)

* added env vars section to various pages

* minor coderabbit updates

* verbose removed

* test removed redirect list

* removed quickstart addition

* converted quickstarts back

* urls deprecated (#7226)

* minimum version uodated (#7234)

* DC-5043 Middleware removed from docs (#7233)

* middleware deleted

* more middleware removed

* more middleware removed

* coderabbit changes

* DC-6174: Remove adapter, engine, directUrl, studio from config (#7256)

* feat: add new features

* fix: revert links

* fix: broken links

* fix: broken link

* feat: restructure getting started side nav (#7245)

* feat(docs): add youtube embeded link to blog post (#7220)

Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>

* feat(docs): add quick  section to blog after the prompt (#7221)

Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>

* DC-5242 Astro Better-Auth Guide (#7215)

* doc created

* nextjs betterauth fixed

* guide broken down into manageable steps

* image added

* Optimised images with calibre/image-actions

* image updated

* Optimised images with calibre/image-actions

* lychee only comments on broken links

* config updated

* lychee updated based on CR comment

* chore: trigger CI checks

* ignore gnu

* fix: update naming to better-auth DC-6120

* Optimised images with calibre/image-actions

* chore: shorten word

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com>

* feat: restructure getting started side nav

* DC-5841 Removed Linkspector (#7231)

* removed linkspector

* retrigger

* retrigger

* retrigger

* Update label for Prisma Postgres tab (#7236)

* fix: content changes for getting started page (#7216)

* fix: content changes for getting started page

* fix: add redirects

* getting started checkpoint

* css styles fixed

* updates

---------

Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>

* DC-5820 AI Agents Served Markdown (#7237)

* ai crawler check successful

* ai crawlers checked

* update

* added anthropic

* middleware update

* improve detection

---------

Co-authored-by: Mike Hartington <mikehartington@gmail.com>

* feat: add prisma-orm quickstarts

* fix: update times and add proper links

* fix: instropspect changes

* feat: add get started from prisma orm page

* feat: add other orms

* fix: update other tools + ppg

* fix: add more clarity

* fix: add prisma postgres

* feat: clear migrate from early access

* fix: add to existing dbs sections

* Remove MCP server exploration tip (#7241)

Removed tip about using Cloudflare's AI Playground for MCP server exploration, as it no longer seems to reliably work.

* fix: clean-up docs files

* fix: typeorm missing urls

* fix: broken link

* fix: update titles

* fix: clear redirect loop (#7250)

* fix: add generate step + sqlite fixes

* fix: clean-up redirects file DC-6228

* fix: clean-up unnecessary file

* fix: remove unknown word

* fix: add links

---------

Co-authored-by: Arthur <arthur_gamby@hotmail.fr>
Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>
Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Petra Donka <donkapetra@gmail.com>
Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Mike Hartington <mikehartington@gmail.com>

* feat: update .env docs DC-6204 (#7259)

* fix: clarify config file path better (#7261)

* Update ORM docs (#7260)

* update

* use pg adapter instead of accelerate

* update

* add dotenv in prisma.config.ts

* fix warning note

* update

* update

* Update guides to use prisma.config.ts (#7243)

* (feat) Update guides to use prisma.config.ts

* refactor: Updated guides for Prisma 7 changes

---------

Co-authored-by: Aman Varshney <amanvarshney.work@gmail.com>

* feat: update ppg for other dbs section (#7264)

* feat: add kysley

* feat: add drizzle

* feat: add typeorm

* fix: clean-up

* feat: separate the sections better

* fix: remove badges

* feat: update prisma init related changes in other parts (#7267)

* feat: add kysley

* feat: add drizzle

* feat: add typeorm

* fix: clean-up

* fix: update prisma init command changes

* feat: update prisma cli docs

* fix: clarify the usage of prisma init better

* fix: add type defs

* feat: add pg as a dependency

* fix: broken internal link

* Update docs to perform migrations with connection pooling and Prisma config (#7266)

* feat: add mentions of new Prisma Studio (#7270)

* feat: add mentions of new Prisma Studio

* feat: add note for Studio for SQLite

* Update content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx

* Update content/100-getting-started/02-prisma-orm/200-add-to-existing-project/200-sqlite.mdx

* fix: make prisma studio docs more accurate

* fix: add missing punctuation

* feat: add mention of mongo support coming for P7 (#7271)

* feat: add mention of mongo support coming for mongo

* fix: refinements

* Update content/100-getting-started/02-prisma-orm/200-add-to-existing-project/800-mongodb.mdx

* docs(postgres): remove accelerate reference
Remove reference to accelerate and rework the docs to account for the new v7 changes

* Optimised images with calibre/image-actions

* docs(): update with feedback

* Optimised images with calibre/image-actions

* docs(ppg): updates

* docs(): update based on feedback

* docs(): update based on feedback

---------

Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>
Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com>
Co-authored-by: Arthur <arthur_gamby@hotmail.fr>
Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Petra Donka <donkapetra@gmail.com>
Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Aman Varshney <amanvarshney.work@gmail.com>
Co-authored-by: Nurul Sundarani <sundarani@prisma.io>

* docs(metrics): remove metrics API (#7248)

* DC-5044 `prisma-client-js` deprecated (#7219)

* `prisma-client-js` deprecated

* chore: empty commit

* broken link updated

* DC-5040 Env Vars via Config (#7227)

* added env vars section to various pages

* minor coderabbit updates

* verbose removed

* test removed redirect list

* removed quickstart addition

* converted quickstarts back

* urls deprecated (#7226)

* minimum version uodated (#7234)

* DC-5043 Middleware removed from docs (#7233)

* middleware deleted

* more middleware removed

* more middleware removed

* coderabbit changes

* docs(metrics): remove metrics API

* DC-6174: Remove adapter, engine, directUrl, studio from config (#7256)

* feat: add new features

* fix: revert links

* fix: broken links

* fix: broken link

* feat: restructure getting started side nav (#7245)

* feat(docs): add youtube embeded link to blog post (#7220)

Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>

* feat(docs): add quick  section to blog after the prompt (#7221)

Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>

* DC-5242 Astro Better-Auth Guide (#7215)

* doc created

* nextjs betterauth fixed

* guide broken down into manageable steps

* image added

* Optimised images with calibre/image-actions

* image updated

* Optimised images with calibre/image-actions

* lychee only comments on broken links

* config updated

* lychee updated based on CR comment

* chore: trigger CI checks

* ignore gnu

* fix: update naming to better-auth DC-6120

* Optimised images with calibre/image-actions

* chore: shorten word

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com>

* feat: restructure getting started side nav

* DC-5841 Removed Linkspector (#7231)

* removed linkspector

* retrigger

* retrigger

* retrigger

* Update label for Prisma Postgres tab (#7236)

* fix: content changes for getting started page (#7216)

* fix: content changes for getting started page

* fix: add redirects

* getting started checkpoint

* css styles fixed

* updates

---------

Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>

* DC-5820 AI Agents Served Markdown (#7237)

* ai crawler check successful

* ai crawlers checked

* update

* added anthropic

* middleware update

* improve detection

---------

Co-authored-by: Mike Hartington <mikehartington@gmail.com>

* feat: add prisma-orm quickstarts

* fix: update times and add proper links

* fix: instropspect changes

* feat: add get started from prisma orm page

* feat: add other orms

* fix: update other tools + ppg

* fix: add more clarity

* fix: add prisma postgres

* feat: clear migrate from early access

* fix: add to existing dbs sections

* Remove MCP server exploration tip (#7241)

Removed tip about using Cloudflare's AI Playground for MCP server exploration, as it no longer seems to reliably work.

* fix: clean-up docs files

* fix: typeorm missing urls

* fix: broken link

* fix: update titles

* fix: clear redirect loop (#7250)

* fix: add generate step + sqlite fixes

* fix: clean-up redirects file DC-6228

* fix: clean-up unnecessary file

* fix: remove unknown word

* fix: add links

---------

Co-authored-by: Arthur <arthur_gamby@hotmail.fr>
Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>
Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Petra Donka <donkapetra@gmail.com>
Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Mike Hartington <mikehartington@gmail.com>

* feat: update .env docs DC-6204 (#7259)

* fix: clarify config file path better (#7261)

* Update ORM docs (#7260)

* update

* use pg adapter instead of accelerate

* update

* add dotenv in prisma.config.ts

* fix warning note

* update

* update

* Update guides to use prisma.config.ts (#7243)

* (feat) Update guides to use prisma.config.ts

* refactor: Updated guides for Prisma 7 changes

---------

Co-authored-by: Aman Varshney <amanvarshney.work@gmail.com>

* feat: update ppg for other dbs section (#7264)

* feat: add kysley

* feat: add drizzle

* feat: add typeorm

* fix: clean-up

* feat: separate the sections better

* fix: remove badges

* feat: update prisma init related changes in other parts (#7267)

* feat: add kysley

* feat: add drizzle

* feat: add typeorm

* fix: clean-up

* fix: update prisma init command changes

* feat: update prisma cli docs

* fix: clarify the usage of prisma init better

* fix: add type defs

* feat: add pg as a dependency

* fix: broken internal link

* Update docs to perform migrations with connection pooling and Prisma config (#7266)

* feat: add mentions of new Prisma Studio (#7270)

* feat: add mentions of new Prisma Studio

* feat: add note for Studio for SQLite

* Update content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx

* Update content/100-getting-started/02-prisma-orm/200-add-to-existing-project/200-sqlite.mdx

* fix: make prisma studio docs more accurate

* fix: add missing punctuation

* feat: add mention of mongo support coming for P7 (#7271)

* feat: add mention of mongo support coming for mongo

* fix: refinements

* Update content/100-getting-started/02-prisma-orm/200-add-to-existing-project/800-mongodb.mdx

* Restore content/200-orm/200-prisma-client/600-observability-and-logging/240-metrics.mdx

* docs(): update based on feedback

* Update content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/115-connection-pool.mdx

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>
Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com>
Co-authored-by: Arthur <arthur_gamby@hotmail.fr>
Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Petra Donka <donkapetra@gmail.com>
Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Aman Varshney <amanvarshney.work@gmail.com>
Co-authored-by: Nurul Sundarani <sundarani@prisma.io>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix build errors

* fix

* Add callout for bun and sqlite (#7280)

* Add caalout for bun and sqlite

* add link to bun docs

* fix: get started path url (#7281)

* fix: clarify studio better (#7282)

* feat: add connection pooling gif (#7284)

---------

Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>
Co-authored-by: Arthur <arthur_gamby@hotmail.fr>
Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Petra Donka <donkapetra@gmail.com>
Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Mike Hartington <mikehartington@gmail.com>
Co-authored-by: Aman Varshney <amanvarshney.work@gmail.com>
Co-authored-by: Nurul Sundarani <sundarani@prisma.io>
Co-authored-by: Mike Hartington <mhartington@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Odysseus Zhang <b1fzhang@gmail.com>
@coderabbitai coderabbitai bot mentioned this pull request Dec 2, 2025
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.

2 participants