Prisma Adapter

Database adapter that maps Payload collections onto an existing Prisma schema

Community 1 56/wk Apache-2.0 v0.3.1

Installation

pnpm add payload-adapter-prisma

About

Prisma Adapter lets Payload read and write tables you already manage with Prisma. Collections and globals you map onto Prisma models become regular Prisma queries, including relationship writes, so the admin panel and APIs work against your own data. Payload's internal state, such as admin logins, drafts, versions, locks and the job queue, is stored in a second database through any other Payload database adapter. The adapter never changes your schema, so prisma migrate stays the only tool that alters your tables.

Package info

Package name
payload-adapter-prisma
Latest version
0.3.1
Unpacked size
415 kB
License
Apache-2.0
Weekly downloads
56
Last publish
Nov 10, 2026

Similar adapters

More in Database

Database adapter that runs Payload on SurrealDB through its PostgreSQL-compatible SQL interface

Stores Payload data in a Postgres database, with migrations and read replica support

Vercel Postgres database adapter that stores Payload collections and globals in Postgres

Stores Payload data in Cloudflare D1 SQLite databases from Workers

Stores Payload collections and globals in a MongoDB database

Official SQLite database adapter that stores Payload collections and globals in SQLite