You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Under "Step 6 - Applying changes to the database", running "npx drizzle-kit push" results in:
Reading config file '[...]/drizzle.config.ts'
Using 'pg' driver for database querying
[⣷] Pulling schema from database...
AggregateError [ECONNREFUSED]:
at [...]/node_modules/pg-pool/index.js:45:11
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Object.query ([...]/node_modules/drizzle-kit/bin.cjs:78762:26)
at async fromDatabase2 ([...]/node_modules/drizzle-kit/bin.cjs:37273:25) {
code: 'ECONNREFUSED',
...
Running with npx drizzle-kit push:pg is ok, but produces a warning:
Docs page: https://orm.drizzle.team/docs/get-started/postgresql-new
On GitHub:
drizzle-orm-docs/src/content/docs/get-started/postgresql-new.mdx
Line 22 in 6277751
Two things:
Running with
npx drizzle-kit push:pg
is ok, but produces a warning:The text was updated successfully, but these errors were encountered: