Support custom config file
Is your feature request related to a problem? Please describe. It seems I cannot specify a config file
Describe the solution you'd like
Ideally, I can run migration with --env or --config
Describe alternatives you've considered
Additional context
Maybe a little bit late, but checking on this framework to use it on my personal protect
I haven't tried it yet, based on this example, and due to it being a javascript file running Would it be possible to use a usual environment variable instead of a hard-coded string for the connection and/or database name?
If that is the case, you could use a different variable value on each environment and it should do the trick
This feature already exists. Use migrate-mongo [command] -f path/to/config.js to specify a custom config file. See README for details.