# Prisma ORM

Open\-source TypeScript data layer with typed queries and migrations; version 8 release\-candidate workflows differ substantially from version 7\.

ID: Q1616 · Revision: 1729

Type: software · License: Apache\-2\.0 ORM source; hosted services have separate terms[^license][^license7] · Status: active

Website: https://www.prisma.io/orm



Prisma ORM is an open\-source TypeScript data layer for database queries and schema evolution\. Its current version 8 documentation describes a contract\-based client and separate database libraries, while version 7 remains supported with different schema, command and client interfaces\. For AI\-assisted application development, identifying the installed major version is essential: examples for these generations are not interchangeable\.[^overview][^status]

## Capabilities and substitutions

### Contract\-based typed access — supported

Version 8 uses an emitted contract and per\-database runtime rather than the v7 generated\-client workflow\.[^overview]

Use case: Typed application data access and database schema evolution · Platforms: Node\.js and TypeScript; requirements depend on major version and setup · Region: Version, build and integration requirements apply

### Database coverage in version 8 — limited

PostgreSQL is RC, MongoDB early access and SQLite experimental; several SQL dialects remain v7\-only at inspection\.[^databases]

Use case: Typed application data access and database schema evolution · Platforms: Node\.js and TypeScript; requirements depend on major version and setup · Region: Version, build and integration requirements apply

### Version 7 command compatibility — unsupported

The v8 CLI does not provide the v7 generate, migrate dev and db push commands\. This command\-compatibility limit does not mean every v7 schema is unreadable: the article describes the separately configured PostgreSQL schema bridge\.[^source-10]

Use case: Typed application data access and database schema evolution · Platforms: Node\.js and TypeScript; requirements depend on major version and setup · Region: Version, build and integration requirements apply

### Incremental PostgreSQL upgrade — supported

The official v7\-to\-v8 guide separates client migration from ownership of schema migrations, running both against one database\.[^source-11]

Use case: Typed application data access and database schema evolution · Platforms: Node\.js and TypeScript; requirements depend on major version and setup · Region: Version, build and integration requirements apply

### Version 8 feature parity — limited

Documented gaps include most nested writes, transaction isolation options, atomic increment and legacy extension/error interfaces\.[^source-10]

Use case: Typed application data access and database schema evolution · Platforms: Node\.js and TypeScript; requirements depend on major version and setup · Region: Version, build and integration requirements apply

### [Substitute for Drizzle ORM](/drizzleorm) — limited

Can substitute for Drizzle's typed database access in an application rewritten around Prisma's models and client\. Choose the Prisma major version and database first; v8's RC gaps prevent a blanket replacement of existing SQL workflows\.[^overview][^databases][^drizzle]

Use case: Typed application data access and database schema evolution · Platforms: Node\.js and TypeScript; requirements depend on major version and setup · Region: Version, build and integration requirements apply

## References

[^license]: [Prisma ORM license](<https://github.com/prisma/orm/blob/main/LICENSE>) — Apache\-2\.0 source license (vendor; retrieved 2026-10-07T22:57:40Z)

[^license7]: [Prisma ORM v7 license](<https://github.com/prisma/orm/blob/v7/LICENSE>) — Apache\-2\.0 declaration (vendor; retrieved 2026-10-07T22:58:16Z)

[^overview]: [Prisma ORM overview](<https://www.prisma.io/docs/orm>) — Contracts, typed queries, contract emit and migration commands (vendor; retrieved 2026-10-07T22:58:10Z)

[^status]: [Prisma release status](<https://www.prisma.io/docs/orm/release-status>) — v8 RC; v7 pinning/support; unavailable features (vendor; retrieved 2026-10-14T05:51:00Z)

[^databases]: [Prisma supported databases](<https://www.prisma.io/docs/orm/supported-databases>) — Database status, transactions and standard connection strings (vendor; retrieved 2026-10-07T22:58:10Z)

[^upgrade]: [Prisma 7 to 8 PostgreSQL migration](<https://www.prisma.io/docs/guides/upgrade-prisma-orm/postgresql>) — PostgreSQL staged migration, prisma7Schema bridge and migration ownership timeline; current Node\.js/TypeScript prerequisites (vendor; retrieved 2026-10-14T05:51:00Z)

[^readme]: [Prisma ORM repository overview](<https://github.com/prisma/orm/blob/main/README.md>) — Prerequisites, version\-matched agent skills and source layout (vendor; retrieved 2026-10-14T05:51:00Z)

[^drizzle]: [Drizzle ORM overview](<https://github.com/drizzle-team/drizzle-orm/blob/main/README.md>) — SQL\-like/relational APIs and TypeScript declarations (vendor; retrieved 2026-10-07T22:58:16Z)

[^schema-bridge]: [Prisma CLI configuration: use a Prisma ORM 7 schema](<https://www.prisma.io/docs/cli/configuration#use-a-prisma-orm-7-schema>) — PostgreSQL prisma7Schema bridge; date/time string mapping; unsupported schema constructs; v7 retains migration ownership (vendor; retrieved 2026-10-14T05:51:00Z)

[^source-10]: [https://www\.prisma\.io/docs/orm/release\-status](<https://www.prisma.io/docs/orm/release-status>) — v8 RC; v7 pinning/support; unavailable features (vendor; retrieved 2026-10-07T22:58:10Z)

[^source-11]: [https://www\.prisma\.io/docs/guides/upgrade\-prisma\-orm/postgresql](<https://www.prisma.io/docs/guides/upgrade-prisma-orm/postgresql>) — Prerequisites and five\-phase migration ownership timeline (vendor; retrieved 2026-10-07T22:58:23Z)

[^source-12]: [https://github\.com/prisma/orm/blob/main/README\.md](<https://github.com/prisma/orm/blob/main/README.md>) — Prerequisites, version\-matched agent skills and source layout (vendor; retrieved 2026-10-07T22:58:00Z)

Source revision: https://substitutefor.net/entities/Q1616?revision=1729
