Migrating to Prisma 6.5.0
Version 6.5.0 introduces 1 breaking change. This guide details how to update your code.
Released: 3/11/2025
1
Breaking Changes
2
Migration Steps
6
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
PrismaClient.$onPrismaClient.$extendsPrismaConfigdefineConfigPrismaInstrumentationAtLeastBreaking Changes
●Issue #1
Automatic database reset prompts have been removed from the migrate command. If a migration cannot be applied cleanly, the CLI will now exit with an error instead of asking to reset. To reset the database, you must now run 'prisma migrate reset' explicitly.
Migration Steps
- 1If your CI/CD or local workflow relied on the interactive reset prompt during 'prisma migrate', update your scripts to use 'prisma migrate reset' when a reset is required.
- 2Update 'prisma.config.ts' to use either the 'defineConfig' helper from 'prisma/config' or the 'PrismaConfig' type from 'prisma' instead of the deprecated '@prisma/config' package.
Release Summary
Prisma 6.5.0 removes interactive database reset prompts in favor of explicit commands and introduces Prisma Studio support for the new prisma.config.ts configuration file.
Need More Details?
View the full release notes and all changes for Prisma 6.5.0.
View Full Changelog