OverviewHistoryStatsSecurity
npx skills add ...
Documentation
SKILL.md
npx skills add prisma/cursor-plugin --skill prisma-upgrade-v7-schema-changes
Schema Changes. Reference when using this Prisma feature.
npx skills add prisma/cursor-plugin --skill prisma-upgrade-v7-schema-changes
Prisma v7 introduces a new prisma-client generator. Update your generator block and import paths accordingly.
Use prisma-client in Prisma v7.
prisma-client)The output field is mandatory when using prisma-client. Prisma Client no longer generates to node_modules with this generator.
engineType is removed in Prisma v7. Remove any engineType setting from your generator block.
Creates: generated/client
Creates: prisma/generated/client
The url, directUrl, and shadowDatabaseUrl values now live in prisma.config.ts in Prisma v7. Keep only the provider in schema.prisma:
Run prisma generate:
Update imports throughout your codebase:
Update .gitignore (if using prisma-client output):
Preview features work the same: