-
Notifications
You must be signed in to change notification settings - Fork 856
feat: add mentions of new Prisma Studio #7270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Dangerous URL checkNo absolute URLs to prisma.io/docs found. |
WalkthroughDocumentation updates for Prisma Studio: added SQLite runtime notes and standardized "Supported databases" admonitions; removed from DB-specific quickstarts in favor of DB-specific guidance; reworked the main Studio guide into a concise getting-started/core-features flow; expanded the CLI reference with new Studio flags and examples. Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~50 minutes
Possibly related PRs
Pre-merge checks❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
Comment |
Redirect checkThis PR probably requires the following redirects to be added to static/_redirects:
|
There was a problem hiding this 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
🧹 Nitpick comments (1)
content/200-orm/400-tools/06-prisma-studio.mdx (1)
49-62: Core features sections are well-structured and task-focused.The seven subsections (browse, edit, add, delete, filter, sort) provide a clear mental model of Studio's capabilities. Each section is concise and uses appropriate visual/interaction details (double-click for inline editing, checkboxes for multi-select, etc.) that help users understand the UI without screenshots.
LanguageTool flagged "Add new records" and "Create new records" as potentially wordy. Consider shortened phrasing like "Add records" and "Create records" for tighter documentation, though current wording is still clear.
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (10)
content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx(1 hunks)content/100-getting-started/02-prisma-orm/100-quickstart/700-cockroachdb.mdx(1 hunks)content/100-getting-started/02-prisma-orm/100-quickstart/800-mongodb.mdx(1 hunks)content/100-getting-started/02-prisma-orm/200-add-to-existing-project/200-sqlite.mdx(1 hunks)content/100-getting-started/02-prisma-orm/200-add-to-existing-project/700-cockroachdb.mdx(1 hunks)content/100-getting-started/02-prisma-orm/200-add-to-existing-project/800-mongodb.mdx(1 hunks)content/100-getting-started/_components/_explore-data.mdx(1 hunks)content/200-orm/400-tools/06-prisma-studio.mdx(1 hunks)content/200-orm/500-reference/200-prisma-cli-reference.mdx(3 hunks)content/250-postgres/300-database/675-prisma-studio/50-studio-in-vs-code.mdx(1 hunks)
🧰 Additional context used
🧠 Learnings (7)
📓 Common learnings
Learnt from: ankur-arch
Repo: prisma/docs PR: 7066
File: content/200-orm/200-prisma-client/700-debugging-and-troubleshooting/245-troubleshooting-binary-size-issues.mdx:8-22
Timestamp: 2025-08-11T09:40:55.237Z
Learning: When the queryCompiler preview feature is enabled in Prisma ORM (v6.7.0+), it does not require Rust engines for CLI tools like `prisma migrate` or `prisma db pull`. The previous understanding that CLI tools would still need Rust binaries even with queryCompiler enabled is incorrect.
📚 Learning: 2025-10-08T16:22:57.129Z
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7165
File: content/800-guides/550-test-guide.mdx:50-66
Timestamp: 2025-10-08T16:22:57.129Z
Learning: In `.mdx` files, do NOT flag or suggest changes for the following code quality issues even if they represent poor practices: React anti-patterns (using var instead of useState, direct DOM manipulation), missing keys in .map() iterations, non-serializable props in getServerSideProps, unused variables, missing error handling, SQL injection vulnerabilities (unless actively showing how to fix them), insecure cookie settings, missing TypeScript types, PrismaClient instantiation patterns, or any other code quality, security, or performance issues. Documentation code snippets are copied from source code and often intentionally show "before" examples or common mistakes.
Applied to files:
content/100-getting-started/_components/_explore-data.mdxcontent/100-getting-started/02-prisma-orm/100-quickstart/700-cockroachdb.mdxcontent/100-getting-started/02-prisma-orm/100-quickstart/800-mongodb.mdxcontent/100-getting-started/02-prisma-orm/200-add-to-existing-project/800-mongodb.mdxcontent/200-orm/400-tools/06-prisma-studio.mdx
📚 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: Only flag code snippets for (1) exposed secrets with real-looking values that should be placeholders (e.g., API keys, database passwords, AWS credentials), or (2) blatant syntax errors like missing parentheses, brackets, braces, or mismatched delimiters. Do not flag code quality issues, anti-patterns, security vulnerabilities, missing error handling, unused variables, or any other bad practices, as documentation intentionally shows problematic code.
Applied to files:
content/100-getting-started/_components/_explore-data.mdxcontent/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdxcontent/200-orm/400-tools/06-prisma-studio.mdx
📚 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/100-getting-started/_components/_explore-data.mdxcontent/100-getting-started/02-prisma-orm/100-quickstart/700-cockroachdb.mdxcontent/100-getting-started/02-prisma-orm/100-quickstart/800-mongodb.mdxcontent/100-getting-started/02-prisma-orm/200-add-to-existing-project/700-cockroachdb.mdxcontent/100-getting-started/02-prisma-orm/200-add-to-existing-project/800-mongodb.mdxcontent/200-orm/400-tools/06-prisma-studio.mdx
📚 Learning: 2025-10-14T11:41:08.844Z
Learnt from: carlagn
Repo: prisma/docs PR: 7183
File: content/200-orm/800-more/600-help-and-troubleshooting/050-dataguide/050-database-glossary.mdx:561-567
Timestamp: 2025-10-14T11:41:08.844Z
Learning: Ignore the file `content/200-orm/800-more/600-help-and-troubleshooting/050-dataguide/050-database-glossary.mdx` in future reviews as per user request. Issues in this file were addressed in PR #7185.
Applied to files:
content/100-getting-started/_components/_explore-data.mdx
📚 Learning: 2025-08-11T09:40:55.237Z
Learnt from: ankur-arch
Repo: prisma/docs PR: 7066
File: content/200-orm/200-prisma-client/700-debugging-and-troubleshooting/245-troubleshooting-binary-size-issues.mdx:8-22
Timestamp: 2025-08-11T09:40:55.237Z
Learning: When the queryCompiler preview feature is enabled in Prisma ORM (v6.7.0+), it does not require Rust engines for CLI tools like `prisma migrate` or `prisma db pull`. The previous understanding that CLI tools would still need Rust binaries even with queryCompiler enabled is incorrect.
Applied to files:
content/100-getting-started/02-prisma-orm/100-quickstart/700-cockroachdb.mdxcontent/100-getting-started/02-prisma-orm/200-add-to-existing-project/200-sqlite.mdxcontent/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdxcontent/100-getting-started/02-prisma-orm/200-add-to-existing-project/700-cockroachdb.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/100-getting-started/02-prisma-orm/200-add-to-existing-project/200-sqlite.mdxcontent/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdxcontent/250-postgres/300-database/675-prisma-studio/50-studio-in-vs-code.mdxcontent/200-orm/500-reference/200-prisma-cli-reference.mdx
🪛 LanguageTool
content/200-orm/400-tools/06-prisma-studio.mdx
[style] ~49-~49: ‘new records’ might be wordy. Consider a shorter alternative.
Context: ...mmitting them to the database. ### Add new records Create new records by clicking the "Ad...
(EN_WORDINESS_PREMIUM_NEW_RECORDS)
[style] ~51-~51: ‘new records’ might be wordy. Consider a shorter alternative.
Context: ... database. ### Add new records Create new records by clicking the "Add record" button. St...
(EN_WORDINESS_PREMIUM_NEW_RECORDS)
⏰ 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). (2)
- GitHub Check: Check internal links
- GitHub Check: Cloudflare Pages
🔇 Additional comments (16)
content/100-getting-started/_components/_explore-data.mdx (1)
8-13: Component enhancement is well-structured.The new info block appropriately informs users which databases Prisma Studio supports, with a clear link to detailed documentation. Since this component is selectively imported (only used in quickstarts for PostgreSQL, MySQL, and SQLite, per downstream files), the placement and messaging are appropriate.
content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx (1)
269-275: Verify Node.js and pnpm version requirements are accurate for Prisma v7.The SQLite requirements note is clearly structured and positioned logically after ExploreData. However, the specific version constraints (Node.js 22.5+ for built-in
node:sqlite, Node.js 20 withbetter-sqlite3, and pnpm 10+ caveat) should be verified against the current Prisma v7 release documentation to ensure accuracy.content/100-getting-started/02-prisma-orm/200-add-to-existing-project/200-sqlite.mdx (1)
252-258: Consistent SQLite requirements messaging across guides.The note mirrors the quickstart guide, ensuring users see the same Node.js and pnpm requirements whether they follow the quickstart or add-to-existing path. This consistency is excellent for user experience.
content/100-getting-started/02-prisma-orm/100-quickstart/700-cockroachdb.mdx (1)
271-275: Well-handled transition for unsupported database.The change appropriately pivots from Prisma Studio (which the component would provide) to CockroachDB-native exploration tools. The note is clear about Studio's current limitations while remaining open about future support, and the link to CockroachDB GUI options is a practical alternative.
content/100-getting-started/02-prisma-orm/200-add-to-existing-project/700-cockroachdb.mdx (1)
249-253: Consistent guidance across CockroachDB quickstart and add-to-existing flows.The messaging and approach mirror the quickstart guide, ensuring users encounter the same exploration guidance and Studio limitations regardless of which learning path they follow.
content/250-postgres/300-database/675-prisma-studio/50-studio-in-vs-code.mdx (1)
13-19: Appropriate database support information in main Studio docs.The info block is well-positioned before Usage instructions and provides helpful context about database support. The additional detail compared to _explore-data.mdx (mentioning CockroachDB and MongoDB future support, and reference to SQLite requirements) is appropriate for the main Studio documentation.
Verify that the link target
/orm/tools/prisma-studio#databases-supported-by-prisma-studioexists and has comprehensive database support information as referenced across all files in this PR.content/100-getting-started/02-prisma-orm/200-add-to-existing-project/800-mongodb.mdx (1)
295-299: Appropriate MongoDB-specific exploration guidance.The transition to MongoDB-native exploration tools (Atlas, shell, Compass) is practical and expected. The note about Studio's lack of MongoDB support is consistent with messaging in other unsupported database guides, and the link to the databases page provides users a path to track future support.
content/100-getting-started/02-prisma-orm/100-quickstart/800-mongodb.mdx (1)
279-283: Consistent MongoDB guidance across quickstart and add-to-existing flows.The messaging perfectly mirrors the add-to-existing guide, maintaining consistency and confirming that users will encounter the same exploration guidance regardless of which MongoDB path they follow.
content/200-orm/500-reference/200-prisma-cli-reference.mdx (3)
1710-1718: Effective introduction of Studio v7 changes with database support clarity.The new info box appropriately surfaces database support limitations upfront, directing users to detailed documentation. The link to
/orm/tools/prisma-studioaligns well with the companion file updates.
1755-1761: New Studio command options are well-documented.The
--configand--urlflags are clearly described with appropriate defaults. These additions align with the modernized Studio architecture and provide practical flexibility for configuration management.
1795-1805: Usage examples for new flags are practical and clear.Both examples effectively demonstrate real-world scenarios: using a custom Prisma config file and overriding the database connection string. The terminal syntax is correct, and the examples integrate well with the existing documentation.
content/200-orm/400-tools/06-prisma-studio.mdx (5)
8-10: Intro paragraph effectively establishes v7 context.The opening clearly positions Prisma Studio's role and emphasizes the v7 improvements (stability, performance, modernized architecture). The note about the studio repo being at
prisma/studiois helpful for users seeking to report issues.
12-20: Prerequisites section is comprehensive and actionable.Specifying Node.js versions (20.19+, 22.12+, 24.0+) removes ambiguity and helps users quickly determine compatibility. The project setup requirements (schema, config file, database connection) are clearly listed and necessary for users to understand what's needed before proceeding.
22-30: Getting started section provides clear launch instructions.The command
npx prisma studio --config ./prisma.config.tsis explicit and aligns with CLI reference updates. The explanation of the local web server, default port, and how Studio connects to the database via the config file is practical and demystifies the startup process.
120-139: Database support section clearly communicates limitations and provides alternatives.The division into three subsections—supported databases (PostgreSQL, MySQL, SQLite), SQLite Node.js version requirements, and unsupported databases with alternatives—is well-organized. The SQLite requirements (lines 128-132) properly distinguish between Node.js 22.5+ (built-in) and Node.js 20 (needs
better-sqlite3), and the pnpm 10+ note is a helpful gotcha.Please verify that the Node.js version numbers and
better-sqlite3requirements are current with Prisma ORM's official documentation, as version requirements may evolve.
136-139: Unsupported database guidance is helpful and actionable.Providing links or suggestions for alternative tools (CockroachDB blog post, MongoDB Atlas, Compass, shell) helps users unblocked rather than simply stating "not supported." This approach maintains user goodwill and acknowledges the broader ecosystem.
Deploying docs with
|
| Latest commit: |
b3e454b
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://3d062d26.docs-51g.pages.dev |
| Branch Preview URL: | https://dc-6252-studio.docs-51g.pages.dev |
content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx
Outdated
Show resolved
Hide resolved
content/100-getting-started/02-prisma-orm/200-add-to-existing-project/200-sqlite.mdx
Show resolved
Hide resolved
…project/200-sqlite.mdx
🍈 Lychee Link Check Report
📊 Results Overview
Errors per inputErrors in 200-orm/050-overview/100-introduction/250-should-you-use-prisma.mdx
Errors in 800-guides/180-solid-start.mdx
|
🍈 Lychee Link Check Report
📊 Results Overview
Errors per inputErrors in 100-getting-started/02-prisma-orm/100-quickstart/400-mysql.mdx
Errors in 200-orm/050-overview/500-databases/400-mysql.mdx
Errors in 200-orm/100-prisma-schema/20-data-model/20-relations/410-referential-actions/index.mdx
Errors in 200-orm/100-prisma-schema/20-data-model/20-relations/420-relation-mode.mdxErrors in 200-orm/200-prisma-client/600-observability-and-logging/250-opentelemetry-tracing.mdx
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
content/200-orm/400-tools/06-prisma-studio.mdx(1 hunks)
🧰 Additional context used
🧠 Learnings (6)
📓 Common learnings
Learnt from: ankur-arch
Repo: prisma/docs PR: 7066
File: content/200-orm/200-prisma-client/700-debugging-and-troubleshooting/245-troubleshooting-binary-size-issues.mdx:8-22
Timestamp: 2025-08-11T09:40:55.237Z
Learning: When the queryCompiler preview feature is enabled in Prisma ORM (v6.7.0+), it does not require Rust engines for CLI tools like `prisma migrate` or `prisma db pull`. The previous understanding that CLI tools would still need Rust binaries even with queryCompiler enabled is incorrect.
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".
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.
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: Only flag code snippets for (1) exposed secrets with real-looking values that should be placeholders (e.g., API keys, database passwords, AWS credentials), or (2) blatant syntax errors like missing parentheses, brackets, braces, or mismatched delimiters. Do not flag code quality issues, anti-patterns, security vulnerabilities, missing error handling, unused variables, or any other bad practices, as documentation intentionally shows problematic code.
📚 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/400-tools/06-prisma-studio.mdx
📚 Learning: 2025-10-08T16:22:57.129Z
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7165
File: content/800-guides/550-test-guide.mdx:50-66
Timestamp: 2025-10-08T16:22:57.129Z
Learning: In `.mdx` files, do NOT flag or suggest changes for the following code quality issues even if they represent poor practices: React anti-patterns (using var instead of useState, direct DOM manipulation), missing keys in .map() iterations, non-serializable props in getServerSideProps, unused variables, missing error handling, SQL injection vulnerabilities (unless actively showing how to fix them), insecure cookie settings, missing TypeScript types, PrismaClient instantiation patterns, or any other code quality, security, or performance issues. Documentation code snippets are copied from source code and often intentionally show "before" examples or common mistakes.
Applied to files:
content/200-orm/400-tools/06-prisma-studio.mdx
📚 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: Only flag code snippets for (1) exposed secrets with real-looking values that should be placeholders (e.g., API keys, database passwords, AWS credentials), or (2) blatant syntax errors like missing parentheses, brackets, braces, or mismatched delimiters. Do not flag code quality issues, anti-patterns, security vulnerabilities, missing error handling, unused variables, or any other bad practices, as documentation intentionally shows problematic code.
Applied to files:
content/200-orm/400-tools/06-prisma-studio.mdx
📚 Learning: 2025-10-14T11:41:08.844Z
Learnt from: carlagn
Repo: prisma/docs PR: 7183
File: content/200-orm/800-more/600-help-and-troubleshooting/050-dataguide/050-database-glossary.mdx:561-567
Timestamp: 2025-10-14T11:41:08.844Z
Learning: Ignore the file `content/200-orm/800-more/600-help-and-troubleshooting/050-dataguide/050-database-glossary.mdx` in future reviews as per user request. Issues in this file were addressed in PR #7185.
Applied to files:
content/200-orm/400-tools/06-prisma-studio.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/400-tools/06-prisma-studio.mdx
🪛 LanguageTool
content/200-orm/400-tools/06-prisma-studio.mdx
[style] ~71-~71: ‘new records’ might be wordy. Consider a shorter alternative.
Context: ...mmitting them to the database. ### Add new records Create new records by clicking the "Ad...
(EN_WORDINESS_PREMIUM_NEW_RECORDS)
[style] ~73-~73: ‘new records’ might be wordy. Consider a shorter alternative.
Context: ... database. ### Add new records Create new records by clicking the "Add record" button. St...
(EN_WORDINESS_PREMIUM_NEW_RECORDS)
⏰ 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). (2)
- GitHub Check: Check internal links
- GitHub Check: Cloudflare Pages
🔇 Additional comments (5)
content/200-orm/400-tools/06-prisma-studio.mdx (5)
8-10: Clear and compelling opening clarifies Studio's standalone nature.The introduction effectively sets expectations—particularly the clarification that Studio is SQL-driven and no longer coupled to Prisma ORM. This directly addresses a common misconception and is much stronger than the previous version.
12-52: Well-structured two-option flow with clear prerequisites and getting started instructions.The prerequisites section elegantly presents the choice between standalone usage (
--url) and ORM-project usage (--config), with specific commands and concise descriptions. Both code examples are unambiguous, and the note about the default port is helpful. The getting-started section successfully motivates each path.
54-129: Core features section is task-oriented and actionable.Each subsection (Browse data, View/edit records, Add records, Delete records, Filter, etc.) explains the feature and its mechanics without unnecessary jargon. The field-type descriptions and relations guidance are practical. The keyboard shortcuts reminder is well-placed.
148-161: Troubleshooting is concise and actionable.The cache-deletion guidance with OS-specific paths is practical and likely to resolve the cited error quickly.
1-161: Verify that--configand--urlflags are fully implemented and documented in the CLI reference.Past review comments hinted at unimplemented features in this guide. Please confirm that both the standalone
--urlmode and the--configmode for Prisma ORM projects are actually shipped and documented in the Prisma CLI reference. If the AI summary references related CLI reference updates in this PR, please share those excerpts so I can cross-check.
There was a problem hiding this 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
🧹 Nitpick comments (1)
content/200-orm/400-tools/06-prisma-studio.mdx (1)
34-52: Getting started with clear command examples for both modes.The dual command examples (
--urlfor standalone,--configfor Prisma projects) and explanation of shared port/browser behavior are well-presented. One suggestion: if feasible, briefly clarify where theprisma.config.tsfile should be located in the project structure (e.g., "in your project root").
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
content/200-orm/400-tools/06-prisma-studio.mdx(1 hunks)
🧰 Additional context used
🧠 Learnings (6)
📓 Common learnings
Learnt from: ankur-arch
Repo: prisma/docs PR: 7066
File: content/200-orm/200-prisma-client/700-debugging-and-troubleshooting/245-troubleshooting-binary-size-issues.mdx:8-22
Timestamp: 2025-08-11T09:40:55.237Z
Learning: When the queryCompiler preview feature is enabled in Prisma ORM (v6.7.0+), it does not require Rust engines for CLI tools like `prisma migrate` or `prisma db pull`. The previous understanding that CLI tools would still need Rust binaries even with queryCompiler enabled is incorrect.
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".
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.
📚 Learning: 2025-10-08T16:22:57.129Z
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7165
File: content/800-guides/550-test-guide.mdx:50-66
Timestamp: 2025-10-08T16:22:57.129Z
Learning: In `.mdx` files, do NOT flag or suggest changes for the following code quality issues even if they represent poor practices: React anti-patterns (using var instead of useState, direct DOM manipulation), missing keys in .map() iterations, non-serializable props in getServerSideProps, unused variables, missing error handling, SQL injection vulnerabilities (unless actively showing how to fix them), insecure cookie settings, missing TypeScript types, PrismaClient instantiation patterns, or any other code quality, security, or performance issues. Documentation code snippets are copied from source code and often intentionally show "before" examples or common mistakes.
Applied to files:
content/200-orm/400-tools/06-prisma-studio.mdx
📚 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/400-tools/06-prisma-studio.mdx
📚 Learning: 2025-10-14T11:41:08.844Z
Learnt from: carlagn
Repo: prisma/docs PR: 7183
File: content/200-orm/800-more/600-help-and-troubleshooting/050-dataguide/050-database-glossary.mdx:561-567
Timestamp: 2025-10-14T11:41:08.844Z
Learning: Ignore the file `content/200-orm/800-more/600-help-and-troubleshooting/050-dataguide/050-database-glossary.mdx` in future reviews as per user request. Issues in this file were addressed in PR #7185.
Applied to files:
content/200-orm/400-tools/06-prisma-studio.mdx
📚 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: Only flag code snippets for (1) exposed secrets with real-looking values that should be placeholders (e.g., API keys, database passwords, AWS credentials), or (2) blatant syntax errors like missing parentheses, brackets, braces, or mismatched delimiters. Do not flag code quality issues, anti-patterns, security vulnerabilities, missing error handling, unused variables, or any other bad practices, as documentation intentionally shows problematic code.
Applied to files:
content/200-orm/400-tools/06-prisma-studio.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/400-tools/06-prisma-studio.mdx
🪛 LanguageTool
content/200-orm/400-tools/06-prisma-studio.mdx
[style] ~71-~71: ‘new records’ might be wordy. Consider a shorter alternative.
Context: ...mmitting them to the database. ### Add new records Create new records by clicking the "Ad...
(EN_WORDINESS_PREMIUM_NEW_RECORDS)
[style] ~73-~73: ‘new records’ might be wordy. Consider a shorter alternative.
Context: ... database. ### Add new records Create new records by clicking the "Add record" button. St...
(EN_WORDINESS_PREMIUM_NEW_RECORDS)
⏰ 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). (2)
- GitHub Check: Check internal links
- GitHub Check: Cloudflare Pages
🔇 Additional comments (3)
content/200-orm/400-tools/06-prisma-studio.mdx (3)
1-10: Well-structured introduction establishes Studio's standalone, SQL-driven nature.The new framing clearly addresses the disconnect in prior feedback—Studio is now correctly positioned as a product independent of Prisma ORM and PSL. The reference to the public issue tracker is helpful.
12-32: Prerequisites section effectively separates two usage modes.The two-option structure (standalone with
--url; Prisma ORM project) is intuitive and removes ambiguity about what's actually required. Prerequisite details for each mode are appropriate and specific.
54-120: Core features section is comprehensive and task-oriented.The reorganization from model-centric to capability-centric (Browse → View/Edit → Add → Delete → Filter → Visibility → Sort) is more user-centric. Coverage of data types and relations is complete. The keyboard shortcut hint at line 106 is a nice touch for discoverability.
* 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
* 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>
* 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>
Summary by CodeRabbit
Documentation
New Features