Pular para o conteúdo
Kitbay
SkillOficial

prisma-upgrade-v7

MITAtualizado em 10 de nov. de 202680Estrelas no GitHub

Prisma's migration skill for apps moving from Prisma ORM 6 to version 7 and staying there.

O que a skill ensina

Prisma's migration skill for apps moving from Prisma ORM 6 to version 7 and staying there. It lists the breaking changes an agent has to handle: the new prisma-client generator and its entry points, required driver adapters, the prisma.config.ts file, loading environment variables explicitly, ESM as the default module format with a CommonJS fallback, replacing Prisma.validator, and features that were removed, such as middleware and metrics. A separate reference covers projects that use Accelerate. It is guidance with reference files; apps going to Prisma 8 use a different skill.

O que faz

  • Upgrade a project from Prisma ORM 6 to 7
  • Switch to the prisma-client generator
  • Add the driver adapters Prisma 7 requires
  • Fix import and configuration errors after the upgrade