Migo is a lightweight PostgreSQL migration tool that defines schema changes in a custom .migo file format with versioned up/down steps. Current version is 0.1.4-1, with low release activity. It distinguishes itself by using a simple, single-file configuration and human-readable migration files, but lacks support for modern migration patterns, rollback confirmations, and is limited to PostgreSQL. The tool is usable as a CLI for basic migrations but is unmaintained since 2015.
npm install migoNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates installation, creating a migration file with one up/down step, configuring database connection, and running a migration to the latest version.
Migrate to a maintained tool like node-pg-migrate or db-migrate.
Ensure migration IDs are consecutive integers starting from 1.
Write a wrapper script that echoes 'y' to stdin, e.g., `echo 'y' | migo.js test.migo 0`.
Always create a migo.conf file in the working directory or use the -c option.
Run `npm install -g pg` alongside migo or install migo locally and use npx.
Ensure PostgreSQL is started and migo.conf has correct host, port, user, password, database.
Create a .migo file with the correct format as shown in the README.