This skill provides a comprehensive framework for upgrading Prisma ORM projects from version 6 to version 7. It streamlines the transition by addressing critical breaking changes, including the shift to ESM-only modules, the implementation of required database driver adapters, and the setup of the new prisma.config.ts system. By providing structured guidance on schema updates, environment variable management, and the migration of deprecated features like middleware to Client Extensions, this skill helps developers avoid common pitfalls and ensures a smooth, stable upgrade for their database layer.
主要功能
01prisma.config.ts initialization and setup
02Migration paths for deprecated middleware and metrics
039 GitHub stars
04Prisma schema generator and output migration
05Database driver adapter installation and wiring
06ESM module system and tsconfig configuration
使用场景
01Upgrading legacy Prisma v6 projects to version 7
02Configuring required driver adapters for PostgreSQL, MySQL, or SQLite
03Troubleshooting 'prisma-client' generator and import errors