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!