prisma-upgrade-v7-removed-features
Installation
SKILL.md
Removed Features
Several features have been removed in Prisma v7. Here's how to migrate.
Client Middleware
Removed
// ❌ No longer works in v7
prisma.$use(async (params, next) => {
const before = Date.now()
const result = await next(params)
const after = Date.now()
console.log(`Query took ${after - before}ms`)
return result
})
Related skills
More from prisma/cursor-plugin
prisma-database-setup-postgresql
PostgreSQL Setup. Reference when using this Prisma feature.
14prisma-client-api-model-queries
Model Queries. Reference when using this Prisma feature.
10prisma-upgrade-v7-driver-adapters
Driver Adapters. Reference when using this Prisma feature.
10prisma-cli-dev
prisma dev. Reference when using this Prisma feature.
9prisma-cli-debug
prisma debug. Reference when using this Prisma feature.
8prisma-client-api-filters
Filter Conditions and Operators
8