fix: correct casing of PrismaBetterSqlite3
SQLite3 must be Sqlite3
https://github.com/prisma/prisma/blob/177882704271b747b3618b0cf6790e46f2432b7a/packages/adapter-better-sqlite3/src/index.ts#L1
Summary by CodeRabbit
- Documentation
- Updated guidance in the Getting Started and Upgrade guides to reflect the renamed SQLite adapter export and its usage, ensuring examples and instructions match the current package API.
- Clarified upgrade notes so users following migration steps will see the updated adapter naming in documentation and sample code.
βοΈ Tip: You can customize this high-level summary in your review settings.
Walkthrough
This pull request corrects the class name casing of the Prisma SQLite adapter from PrismaBetterSQLite3 to PrismaBetterSqlite3 in two documentation files, updating import statements and constructor instantiations; no logic or control-flow changes introduced.
Changes
| Cohort / File(s) | Change Summary |
|---|---|
Prisma SQLite adapter class name correction content/100-getting-started/_components/_create-prisma-client.mdx, content/200-orm/800-more/300-upgrade-guides/200-upgrading-to-prisma-7.mdx |
Renamed adapter export and usage from PrismaBetterSQLite3 to PrismaBetterSqlite3 in imports and new constructor invocations within SQLite code blocks. |
Estimated code review effort
π― 1 (Trivial) | β±οΈ ~2 minutes
- Changes are simple, consistent text edits in documentation; no runtime logic to validate.
Possibly related PRs
- prisma/docs#7249 β Same adapter export rename (
PrismaBetterSQLite3βPrismaBetterSqlite3) applied in related upgrade-guide documentation.
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 summarizes the main change: correcting the casing of PrismaBetterSqlite3 across documentation files, which is exactly what the changeset implements. |
| Docstring Coverage | β Passed | No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. |
π Recent 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 18f2b8742d816220a489e4caf38337d950fe817a and f8ab7bbd057d6623f02fbbdc4b37d6466491a881.
π Files selected for processing (1)
content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/400-upgrading-to-prisma-7.mdx(1 hunks)
π§° Additional context used
π§ Learnings (2)
π 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-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/800-more/300-upgrade-guides/200-upgrading-versions/400-upgrading-to-prisma-7.mdx
π Additional comments (1)
content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/400-upgrading-to-prisma-7.mdx (1)
177-188: Casing correction aligns with official Prisma naming convention.The changes correctly update the SQLite adapter class name from
PrismaBetterSQLite3toPrismaBetterSqlite3in both the import statement (line 181) and constructor instantiation (line 183). This aligns with the official naming convention from the Prisma repository.
[!TIP]
π Customizable high-level summaries are now available in beta!
You can now customize how CodeRabbit generates the high-level summary in your pull requests β including its content, structure, tone, and formatting.
- Provide your own instructions using the
high_level_summary_instructionssetting.- Format the summary however you like (bullet lists, tables, multi-section layouts, contributor stats, etc.).
- Use
high_level_summary_in_walkthroughto move the summary from the description to the walkthrough section.Example instruction:
"Divide the high-level summary into five sections:
- π Description β Summarize the main change in 50β60 words, explaining what was done.
- π References β List relevant issues, discussions, documentation, or related PRs.
- π¦ Dependencies & Requirements β Mention any new/updated dependencies, environment variable changes, or configuration updates.
- π Contributor Summary β Include a Markdown table showing contributions:
| Contributor | Lines Added | Lines Removed | Files Changed |- βοΈ Additional Notes β Add any extra reviewer context. Keep each section concise (under 200 words) and use bullet or numbered lists for clarity."
Note: This feature is currently in beta for Pro-tier users, and pricing will be announced later.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands and usage tips.