prisma-orm-v7-skills
Reference guide for Prisma ORM 7 breaking changes and upgrade requirements.
- Prisma 7 ships as ES modules only; projects must set
"type": "module"inpackage.jsonand update TypeScript config to resolve ESM (Node.js 20.19.0+ and TypeScript 5.4.0+ required). - Generator provider changes from
prisma-client-jstoprisma-client, with requiredoutputpath; Prisma Client no longer generates intonode_modulesby default. - Datasource config moves from
schema.prismatoprisma.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-pgfor Postgres); Accelerate users should use the Accelerate extension instead. - CLI workflows change:
prisma generateandprisma db seedno longer run automatically; call them explicitly in your scripts.
Links
- Upgrade guide (v7): https://www.prisma.io/docs/orm/more/upgrade-guides/upgrading-versions/upgrading-to-prisma-7
- Prisma Config reference: https://www.prisma.io/docs/orm/reference/prisma-config-reference
- Prisma Client Extensions: https://www.prisma.io/docs/orm/prisma-client/client-extensions
- Prisma 7 migration prompt (AI agents): https://www.prisma.io/docs/ai/prompts/prisma-7
Upgrade
# Upgrade packages
pnpm add @prisma/client@7
pnpm add -D prisma@7
Breaking Changes (v7)
Minimum versions
More from gocallum/nextjs16-agent-skills
authjs-skills
Auth.js v5 setup for Next.js authentication including Google OAuth, credentials provider, environment configuration, and core API integration
498ai-sdk-6-skills
AI SDK 6 Beta overview, agents, tool approval, Groq (Llama), and Vercel AI Gateway. Key breaking changes from v5 and new patterns.
320clerk-nextjs-skills
Clerk authentication for Next.js 16 (App Router only) with proxy.ts setup, migration from middleware.ts, environment configuration, and MCP server integration.
265resend-integration-skills
Integrate Resend email service via MCP protocol for AI agents to send emails with Claude Desktop, GitHub Copilot, and Cursor. Set up transactional and marketing emails, configure sender verification, and use AI to automate email workflows.
254mcp-server-skills
Pattern for building MCP servers in Next.js with mcp-handler, shared Zod schemas, and reusable server actions.
230upstash-vector-db-skills
Upstash Vector DB setup, semantic search, namespaces, and embedding models (MixBread preferred). Use when building vector search features on Vercel.
209