prisma-orm-v7-skills

Outline breaking changes and migration steps for upgrading Prisma ORM to version 7.

Updated Jun 16, 2017
One-click install
npx skills add https://github.com/vuanhtu1993/vuanhtu1993.github.io --skill prisma-orm-v7-skills-vuanhtu1993
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prisma-orm-v7-skills
Source: https://github.com/vuanhtu1993/vuanhtu1993.github.io/tree/main/.gemini/skills/prisma-orm-v7-skills
Command: npx skills add https://github.com/vuanhtu1993/vuanhtu1993.github.io --skill prisma-orm-v7-skills-vuanhtu1993

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a concise, actionable guide for upgrading Prisma ORM to version 7, outlining the breaking changes and migration steps to reduce risk and downtime.

Core Features & Use Cases

  • Comprehensive upgrade roadmap covering Node.js and TypeScript requirements, Prisma schema changes, and client configuration.
  • Migration guidance for moving from Prisma Client generator provider to prisma-client, and for relocating datasources to prisma.config.ts.
  • Use Case: A project upgrading from Prisma v6 to v7 can follow this guide to adjust imports, run generate, and seed after migrations.

Quick Start

Follow these steps to start upgrading: verify Node and TypeScript versions meet the minimums, update your generator to prisma-client and set the output, create prisma.config.ts at the project root and explicitly load environment variables, then run prisma generate and update imports to the new generated path.

Frequently Asked Questions about prisma-orm-v7-skills

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate to Prisma ORM v7?

Migrate to Prisma ORM v7 by updating your generator provider to prisma-client, moving datasources to prisma.config.ts, adopting driver adapters, and ensuring Node.js and TypeScript meet minimum version requirements.

What are the breaking changes in Prisma ORM v7?

Breaking changes in Prisma ORM v7 include relocating datasources to prisma.config.ts, moving from the Prisma Client generator provider to prisma-client, and requiring explicit seeding and generation practices after migrations.

How do I configure prisma.config.ts for Prisma v7?

You configure prisma.config.ts for Prisma v7 by creating the file at your project root and explicitly loading environment variables into it to define your database datasources and driver adapters.

Do I need driver adapters for Prisma ORM v7?

Yes, adopting driver adapters is a required step when upgrading to Prisma ORM v7 to ensure your database connections function correctly with the new prisma.config.ts setup and updated client generator.

What are the Node and TypeScript requirements for Prisma v7?

Upgrading to Prisma ORM v7 requires verifying that your Node.js and TypeScript versions meet the newly specified minimums before adjusting your schema and client configuration.

How do I update imports after upgrading to Prisma Client v7?

After running prisma generate with the new prisma-client provider, you update imports across your project to point to the new generated output path and execute explicit seeding after migrations.

Related Skills