npm install migs
- Add a
config.json
file with your project specific config in it. - Create a
migrations
folder to house migration files. - Profit!
migs migrate --direction up --env development --run
migs migrate --direction down --env development --run
migs migrate --direction up --env development --to the-moon --run
migs generate --name eat_some_tacos
If you're developing new shiny things for migs, you'll need to run npm run watch
before running stuff like node dist/index.js migrate
.