prisma-orm-v7-skills

Installation
Summary

Reference guide for Prisma ORM 7 breaking changes and upgrade requirements.

  • Prisma 7 ships as ES modules only; projects must set "type": "module" in package.json and update TypeScript config to resolve ESM (Node.js 20.19.0+ and TypeScript 5.4.0+ required).
  • Generator provider changes from prisma-client-js to prisma-client, with required output path; Prisma Client no longer generates into node_modules by default.
  • Datasource config moves from schema.prisma to prisma.config.ts; env vars no longer auto-load and must be explicitly imported.
  • All Prisma Client instantiation now requires a driver adapter (e.g., @prisma/adapter-pg for Postgres); Accelerate users should use the Accelerate extension instead.
  • CLI workflows change: prisma generate and prisma db seed no longer run automatically; call them explicitly in your scripts.
SKILL.md

Links

Upgrade

# Upgrade packages
pnpm add @prisma/client@7
pnpm add -D prisma@7

Breaking Changes (v7)

Minimum versions

Related skills
Installs
810
GitHub Stars
20
First Seen
Jan 20, 2026