emirotin/mongodb-migrations — pull request #1 by cotsog (2014-08-19 17:51:02+00:00)
Title: Need to pass the entire config object as parameter when creating a migration

So I tried to run ../node_modules/.bin/mm create APP-SCHEMA-V2 and got the following error:

> Error: database name must be a string

It turns out that the whole config object has to be passed when creating a Migrator object.

Correct me if I'm wrong.

Thanks!