Extendable database agnostic migration command line tool and mini-framework for node.js. Inspired by the Rails migrate tool and node-migrate.
Simple database migration tool inspired by migrate and the rails migration tool.
npm install milkshake
To setup a new migration folder:
This will create an empty folder in your current working directory named
and include a setup.js file by default. (Hint: Look in lib/default-setup.js to see
the methods you can override in your own setup file, eg. for inserting active
migrations or removing from your own database).
Create a new migration file:
milkshake new "Create table users"
This will generate a new empty migration file named
To run the migration:
To see the full command line options:
Pull requests welcome