Skip to content

fix(db-postgres): postgres uuid#6003

Merged
denolfe merged 2 commits into
betafrom
fix/postgres-uuid
Apr 24, 2024
Merged

fix(db-postgres): postgres uuid#6003
denolfe merged 2 commits into
betafrom
fix/postgres-uuid

Conversation

@denolfe
Copy link
Copy Markdown
Member

@denolfe denolfe commented Apr 24, 2024

Description

Fixes https://github.com/payloadcms/payload-3.0-demo/issues/143

Properly set postgres id type.

@denolfe denolfe merged commit 5731241 into beta Apr 24, 2024
@denolfe denolfe deleted the fix/postgres-uuid branch April 24, 2024 15:59
DanRibbens added a commit that referenced this pull request Apr 25, 2024
fix(db-postgres): postgres version id bug by @jmikrut in #6026
fix(db-postgres): postgres uuid by @denolfe in #6003

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants