v3.0.0-beta.14
⚠ BREAKING CHANGES
@payloadcms/db-postgres
- fix(db-postgres): shortens relation names (#5976)
Shortens the name of auto-generated Postgres relations. Should dramatically reduce errors for users in PG. Also handles an issue with HMR in Postgres by properly destroying the database adapter before re-initializing it.
This change will require anyone running @payloadcms/db-postgres
to create a new migration and run it against their database.
- Run your application in development
pnpm payload migrate:create
will generate the new migrationpnpm payload migrate
will run the migration against your DB