Skip to content

Commit 540b5a5

Browse files
ankur-archclaude
andcommitted
docs: render the pre-flight checklist as plain bullets
The docs renderer doesn't style GitHub task-list syntax; each - [ ] rendered as an orphaned checkbox floating above its bullet. The items already carry bold labels, so plain bullets read the same without the broken checkboxes. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 2ba4a80 commit 540b5a5

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

  • apps/docs/content/docs/guides/next/upgrade-prisma-orm

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -428,16 +428,16 @@ npx prisma-next db verify --db "$DATABASE_URL" # check the DB matches the cont
428428

429429
Work through this list before you switch production traffic over:
430430

431-
- [ ] **Same database.** Your Prisma Next config points at the **same** database and connection string as v6.
432-
- [ ] **Server version.** Your MongoDB server is on 8.0 or newer.
433-
- [ ] **Dry run first.** Rehearse the whole flow on a throwaway copy of your database (`contract emit`, `db update --dry-run`, `db update`, `db verify`) and make sure `db verify` passes before you touch production.
434-
- [ ] **Index parity.** The indexes on each collection (`db.collection.getIndexes()`) match your contract.
435-
- [ ] **Validators.** Your existing documents pass the strict validators Prisma Next adds to each collection (see *Good to know* in step 4).
436-
- [ ] **Addressing.** Every call site uses storage names like `db.orm.users`, not model names.
437-
- [ ] **Transactions.** Every v6 `$transaction` now has a driver-session equivalent.
438-
- [ ] **Raw calls.** Every `$runCommandRaw`, `findRaw`, and `aggregateRaw` has a pipeline-builder or `mongodb`-driver replacement.
439-
- [ ] **Read-only trial run.** Run Prisma Next read-only alongside your v6 app for a while and compare the results. This surfaces any differences while v6 is still handling all the writes.
440-
- [ ] **Cutover and rollback.** Switch writes over only once the trial run looks good, and keep the v6 branch deployable. Rolling back is just a code rollback since your data never moved.
431+
- **Same database.** Your Prisma Next config points at the **same** database and connection string as v6.
432+
- **Server version.** Your MongoDB server is on 8.0 or newer.
433+
- **Dry run first.** Rehearse the whole flow on a throwaway copy of your database (`contract emit`, `db update --dry-run`, `db update`, `db verify`) and make sure `db verify` passes before you touch production.
434+
- **Index parity.** The indexes on each collection (`db.collection.getIndexes()`) match your contract.
435+
- **Validators.** Your existing documents pass the strict validators Prisma Next adds to each collection (see *Good to know* in step 4).
436+
- **Addressing.** Every call site uses storage names like `db.orm.users`, not model names.
437+
- **Transactions.** Every v6 `$transaction` now has a driver-session equivalent.
438+
- **Raw calls.** Every `$runCommandRaw`, `findRaw`, and `aggregateRaw` has a pipeline-builder or `mongodb`-driver replacement.
439+
- **Read-only trial run.** Run Prisma Next read-only alongside your v6 app for a while and compare the results. This surfaces any differences while v6 is still handling all the writes.
440+
- **Cutover and rollback.** Switch writes over only once the trial run looks good, and keep the v6 branch deployable. Rolling back is just a code rollback since your data never moved.
441441

442442
Don't delete the v6 client, schema, or dependencies until this checklist passes.
443443

0 commit comments

Comments
 (0)