Skip to content
Kitbay
Submit

prisma-postgres-upgrade

MITUpdated on Nov 10, 202680GitHub stars

A Prisma skill that moves a Node.js app using PostgreSQL from Prisma ORM 6 or 7 to Prisma 8 in a single pass while keeping its existing schema file, database and data.

What the skill teaches

A Prisma skill that moves a Node.js app using PostgreSQL from Prisma ORM 6 or 7 to Prisma 8 in a single pass while keeping its existing schema file, database and data. It pins exact package versions, reads the old schema into the new contract format, moves migration ownership to Prisma 8, rewrites client queries and lists known problems in the current release candidate, such as databases set to a time zone other than UTC. The app's own checks are run before and after. Prisma 8 details are handed to the prisma-8 skill installed with the ORM package.

Capabilities

  • Upgrade a PostgreSQL app from Prisma 6 or 7 to Prisma 8
  • Read an existing schema.prisma into a Prisma 8 contract
  • Rewrite Prisma Client queries for Prisma 8
  • Verify the upgrade with the project's own checks