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
Description:
When attempting to run the database migration script using Drizzle ORM with Supabase, an ECONNREFUSED error is encountered. This issue occurs when executing the migration command npm run db:run, resulting in the inability to connect to the database.
Description:
When attempting to run the database migration script using Drizzle ORM with Supabase, an
ECONNREFUSED
error is encountered. This issue occurs when executing the migration commandnpm run db:run
, resulting in the inability to connect to the database.Error Message:
Steps to Reproduce:
npm run db:run
in the project directory.127.0.0.1:5432
.Expected Behavior:
The migration script should execute successfully and connect to the Supabase database, applying any pending migrations.
Actual Behavior:
The script fails with an
ECONNREFUSED
error, indicating that the connection to127.0.0.1
on port5432
is being refused.Environment:
Potential Error-Causing Files:
migrate.ts
drizzle.config.ts
lib/db/db.ts
The text was updated successfully, but these errors were encountered: