prisma-7-driver-adapter

Community

Fix Prisma 7 engine errors with a driver adapter.

AuthorDavidTeju
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Prisma 7 introduces a breaking change where the old engine type client is no longer sufficient, requiring a driver adapter to connect to databases.

Core Features & Use Cases

  • Install the appropriate driver adapter package (e.g., @prisma/adapter-pg, @prisma/adapter-mysql, @prisma/adapter-libsql) and configure the adapter in code.
  • Update Prisma client initialization to instantiate and pass the adapter to PrismaClient.
  • Regenerate the client and rebuild the application to apply the changes, with guidance for serverless or Next.js environments.

Quick Start

Replace your Prisma client initialization to use the appropriate driver adapter, then run prisma generate and rebuild.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: prisma-7-driver-adapter
Download link: https://github.com/DavidTeju/shared-skills/archive/main.zip#prisma-7-driver-adapter

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.