prisma-upgrade-v7

Installation
Summary

Complete migration guide for upgrading Prisma ORM from v6 to v7 with ESM, driver adapters, and new configuration.

  • Covers seven critical rule categories: schema migration, driver adapters, ESM support, configuration, removed features, and Accelerate-specific changes
  • Requires Node.js 20.19.0+ and TypeScript 5.4.0+; MongoDB not yet supported in v7
  • Breaking changes include ESM-only modules, required driver adapters, explicit output paths, and prisma.config.ts configuration
  • Provides step-by-step upgrade instructions, code examples for all major databases, and troubleshooting for common migration errors
SKILL.md

Upgrade to Prisma ORM 7

Complete guide for migrating from Prisma ORM v6 to v7. This upgrade introduces significant breaking changes around the new prisma-client generator, driver adapters, prisma.config.ts, explicit environment loading, and generated client entrypoints.

When to Apply

Reference this skill when:

  • Upgrading from Prisma v6 to v7
  • Updating to the prisma-client generator
  • Setting up driver adapters
  • Configuring prisma.config.ts
  • Fixing import errors after upgrade

Rule Categories by Priority

Priority Category Impact Prefix
1 Schema Migration CRITICAL schema-changes
2 Database Connectivity CRITICAL driver-adapters
Related skills

More from prisma/skills

Installs
3.0K
Repository
prisma/skills
GitHub Stars
36
First Seen
Feb 4, 2026