This feat adds support for - [D1 Cloudflare SQLite](https://developers.cloudflare.com/d1/) - R2 storage directly (previously it was via S3 SDK) - Cloudflare 1-click deploy template --------- Co-authored-by: Paul Popus <paul@payloadcms.com>
Payload Postgres Adapter
Official Postgres adapter for Payload.
Installation
npm install @payloadcms/db-postgres
Usage
import { buildConfig } from 'payload'
import { postgresAdapter } from '@payloadcms/db-postgres'
export default buildConfig({
db: postgresAdapter({
pool: {
connectionString: process.env.DATABASE_URI,
},
}),
// ...rest of config
})
More detailed usage can be found in the Payload Docs.