It would help a lot to be able to run a migration from a random directory without cd into the project directory containing the migrations directory. I tried running migrate-mongo up -f ~/some-dir/migrations/migrate-mongo-config.js from / but got ERROR: migrations directory does not exist: /migrations because the project is located in ~/some-dir.
It would help a lot to be able to run a migration from a random directory without
cd
into the project directory containing themigrations
directory. I tried runningmigrate-mongo up -f ~/some-dir/migrations/migrate-mongo-config.js
from/
but gotERROR: migrations directory does not exist: /migrations
because the project is located in~/some-dir
.