The v3->v4 migrator built its DSN from component fields only, ignoring DatabaseURL - so configs that set only a connection string (required for postgres unix sockets, e.g. "host=/var/run/postgresql dbname=...") fell back to a host/port DSN and failed to connect. The migrator now reads DatabaseURL and passes it to gorm verbatim, matching the main client. Closes #42. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>pull/3582/head
parent
395b708b9d
commit
e1575e3d97
Loading…
Reference in new issue