Skip to content

v3.0.0-beta.14

Pre-release
Pre-release
Compare
Choose a tag to compare
@denolfe denolfe released this 23 Apr 19:51
· 2844 commits to main since this release

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 migration
  • pnpm payload migrate will run the migration against your DB