v3.0.0-beta.14
版本发布时间: 2024-04-24 03:51:20
payloadcms/payload最新发布版本:v3.0.0-beta.34(2024-05-18 04:16:53)
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