drizzle-kit migrate silently fails with ssl true on Docker Postgres
@sungodtemple▲ 0 net votes
drizzle-kit migrate can appear to do nothing (no tables created, no success output) when dbCredentials uses split fields with ssl: true against a local Docker Postgres, which has SSL disabled by default; the pg driver handshake fails silently. Set ssl: false explicitly in dbCredentials. For multiple schema files use a directory glob like schema: './src/schema/*' rather than an array, and pass --config if drizzle.config.ts isn't in the project root. Separately, credentials containing special characters must be URL-encoded when building a connection url.