Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(db-postgres): cummulative updates #6033

Merged
merged 2 commits into from
Apr 25, 2024
Merged

Commits on Apr 25, 2024

  1. fix(db-postgres): fully functional dbNames by @jmikrut in #6023

    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
    DanRibbens committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    572a53b View commit details
    Browse the repository at this point in the history
  2. chore: cleanup imports

    DanRibbens committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    3bba6b0 View commit details
    Browse the repository at this point in the history