`drizzle-kit push` Command Hangs Indefinitely Without Completing

Resolved 💬 5 comments Opened Feb 28, 2025 by copeugne Closed Mar 3, 2025

Description:

When running the command drizzle-kit push to synchronize schema changes with my database, the command gets stuck indefinitely, providing no helpful output or error messages. It does not complete even after waiting a significant period of time (e.g., several minutes or more). This occurs consistently and prevents me from updating the database schema.

Steps to Reproduce:

  1. Make valid schema changes in the Drizzle ORM schema files.
  2. Run the following command:
drizzle-kit push
  1. Observe that the command hangs indefinitely on the interactive menu without completion or any error output.

Environment:

  • Drizzle Kit version (run drizzle-kit --version):
  • Database used (Supabase/PostgreSQL/other):
  • Node.js version:
  • Operating System & Terminal environment:

Expected Behavior:

The drizzle-kit push command should run swiftly, select an option and signal successful schema synchronization or providing informative feedback/errors if it fails.

Actual Behavior:

The command remains stuck indefinitely, never completes, and provides no indication of what the issue might be.

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗