Vercel Postgres Adapter

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

Official 45,915 38.7k/wk MIT v3.94.0

Installation

pnpm add @payloadcms/db-vercel-postgres

About

This adapter lets a Payload project use Vercel Postgres as its database. Collections, globals, versions, drafts and relationships are all stored in Postgres tables, so the content model works the same as with any other Postgres host. It can take the connection string from an explicit setting or from the environment variables that Vercel sets for a linked Postgres store. It suits projects deployed on Vercel that want their database in the same platform as the app.

Package info

Package name
@payloadcms/db-vercel-postgres
Latest version
3.94.0
Unpacked size
57 kB
License
MIT
Weekly downloads
38.7k
Last publish
Nov 17, 2026

More from payloadcms

View profile

Stores Payload upload files in Cloudflare R2 buckets instead of local disk

Adds a parent field and breadcrumbs to collections so documents can nest inside each other

Sends Payload server errors and selected HTTP errors to Sentry with user context

Adds an SEO tab with meta title, description, image and search preview to collections

Stores collection uploads in Vercel Blob Storage instead of local disk

Lets one Payload admin panel manage content for many separate tenants

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

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

Database adapter that maps Payload collections onto an existing Prisma schema