Skip to content

prisma-postgres-upgrade

Upgrade a PostgreSQL app from Prisma ORM 6 or 7 straight to Prisma 8 in one pass, keeping the existing schema.prisma, database and data. Use when a Postgres

— (0 ratings) 36.2K downloads prisma
$ npx skills add https://github.com/prisma/skills --skill prisma-postgres-upgrade

Skills can run code on your computer. Review the source before installing. This listing is community-made and isn't affiliated with Anthropic.

About this skill

Prisma Postgres Upgrade: Prisma ORM 6 or 7 to Prisma 8

Move a Node.js server on Prisma ORM 6 or 7 and PostgreSQL to Prisma 8 in one pass. The schema,
the database and its data stay, and the app keeps running wherever it runs today.

This skill is the bridge. It covers only what is specific to leaving Prisma ORM 6 or 7. Prisma 8
itself (the contract, migrations, queries, errors) is covered by the prisma-8 skill that ships
inside @prisma/orm-postgres, which step 2 installs. Follow it for anything Prisma 8 specific;
it matches the installed version, and this skill does not.

prisma-8 says it does not apply to a project that still has schema.prisma and
@prisma/client. That is expected mid-upgrade: this skill keeps both until step 5, and
prisma7Schema(...) reads that schema.prisma. Use prisma-8 for the Prisma 8 side anyway.

The Prisma ORM 6 or 7 to 8 (PostgreSQL) guide
is the source of truth for the steps.

Never do either of these:


Installs: 36.2K | GitHub stars: 80 | First seen: Nov 9, 2026

Related skills

New

Databases

azure-resource-lookup

Fast discovery and inventory of Azure resources across subscriptions using Resource Graph queries.

New • 779.5K
New

Databases

azure-kusto

Execute KQL queries and analyze data in Azure Data Explorer for log analytics, telemetry, and time series insights.

New • 779.1K
New

Databases

supabase-postgres-best-practices

Postgres performance optimization rules across 8 priority categories, from query tuning to advanced features.

New • 502.1K