Is your feature request related to a problem? Please describe.
I always test my migrations on a local copy of the data first. When writing migration scripts, I have to test them by running an up. The migration gets added to the changelog and I cannot test any new changes again until I either - delete the changelog entry or rename the migration file. Both take unnecessary time.
Describe the solution you'd like
A switch in the up and down command to specify a migration file to be run. Sample command - mongo-migrate up --custom abc.js
Describe alternatives you've considered
Deleting the changelog entry or renaming the migration file
Additional context
Add any other context or screenshots about the feature request here.
Is your feature request related to a problem? Please describe. I always test my migrations on a local copy of the data first. When writing migration scripts, I have to test them by running an
up
. The migration gets added to thechangelog
and I cannot test any new changes again until I either - delete the changelog entry or rename the migration file. Both take unnecessary time.Describe the solution you'd like A switch in the
up
anddown
command to specify a migration file to be run. Sample command -mongo-migrate up --custom abc.js
Describe alternatives you've considered Deleting the changelog entry or renaming the migration file
Additional context Add any other context or screenshots about the feature request here.