* fix(db-postgres): find missing path for nested arrays * fix(db-postgres): set _parentID for array nested localized fields * fix: afterRead fallbackLocale causing locale data loss * chore(richtext-lexical): updated args to match payload type change * test: simplify localization e2e duplicate
Payload Postgres Adapter
Official Postgres adapter for Payload.
Installation
npm install @payloadcms/db-postgres
Usage
import { buildConfig } from 'payload/config'
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.