Migurt is a PostgreSQL database migration tool (v3.0.9) that lets you write migrations and seeds in plain SQL. It creates timestamped up/down SQL files and tracks applied migrations in database tables. Unlike ORM-based migration tools, Migurt is minimal and database-native, supporting only PostgreSQL. It has a CLI for creating, running, and reverting migrations and seeds, with configuration via environment variables. Maintenance is sporadic.
npm install migurtNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Global install, set DATABASE_URL, create a migration, then run it. Works only with PostgreSQL.
Set DATABASE_URL in .env or environment, e.g., DATABASE_URL=postgres://user:pass@localhost/mydb
Use a different tool for MySQL (e.g., db-migrate, node-pg-migrate).
Consider alternatives like node-pg-migrate or db-migrate-pg if you need active support.
Always provide --number, e.g., migurt migrate --number 1
Start PostgreSQL or update DATABASE_URL to correct connection string.
Install dotenv: npm install dotenv
Install globally: npm i -g migurt, or use npx migurt.
No dependency data recorded yet.