Skip to content

Commit 2ba4a80

Browse files
ankur-archclaude
andauthored
docs: fix spellcheck failures from the MongoDB migration guide (#8112)
* docs: fix spellcheck failures from the MongoDB migration guide Add cutover to the cspell project dictionary and switch façade to facade in the guide. Follow-up to #8111, which landed with these two words failing the Spellcheck workflow on main. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * docs: tell readers to align dbName with the v6 database Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent df7bbcf commit 2ba4a80

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

apps/docs/content/docs/guides/next/upgrade-prisma-orm/mongodb.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Scaffold the project:
4242
npx prisma-next init --yes --target mongodb --authoring psl
4343
```
4444

45-
`init` writes a `prisma-next.config.ts` at the repo root. MongoDB is selected by importing the `@prisma-next/mongo` façade, not by a `provider` string in the schema. Point the connection at the **same database** your v6 app uses.
45+
`init` writes a `prisma-next.config.ts` at the repo root. MongoDB is selected by importing the `@prisma-next/mongo` facade, not by a `provider` string in the schema. Point the connection at the **same database** your v6 app uses.
4646

4747
```typescript tab="After"
4848
// prisma-next.config.ts
@@ -73,7 +73,7 @@ Run `npx prisma-next contract emit` to generate `contract.json` from your `.pris
7373

7474
### Import the client
7575

76-
The way to instantiate the Prisma client now is from the emitted contract:
76+
The way to instantiate the Prisma client now is from the emitted contract. Replace `my-app-db` with the database name your v6 connection string uses; if the connection URL already carries the database name in its path, omit `dbName` and the client reads it from the URL:
7777

7878
```typescript tab="After"
7979
// src/prisma/db.ts

apps/docs/cspell.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
"Ctype",
7171
"cursorrules",
7272
"cursorstream",
73+
"cutover",
7374
"datadog",
7475
"datamodel",
7576
"DATAPROXY",

0 commit comments

Comments
 (0)