-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command to run single file migrations script #296
Comments
Let me know if you want me to help you on this. |
Hello, I implemented it here. I forked another forked branch so it needs to be merged before mine. Travis build currently fails for the same reason, because the Pull Request is located on the repo where it was first forked, so Travis is not well configured. When I will target main repo, it will be valid. I ensured a 100% coverage. |
Nice! |
Anytime soon this feature would be added? 😁 |
any updates guys? |
#251 would also seem to accomplish this, more or less, right? |
@seppevs thumbs up |
Is your feature request related to a problem? Please describe.
We're using the tool to run our migrations in our MongoDB database.
Right now, it only runs all the migrations scrips under
migrations
folderWe want to run a migration from a single file that we recently wrote.
Describe the solution you'd like
It would be nice if we could have a command like this:
migrate-mongo [up|down] --migration-file 'migrations/your-migration-file.js'
It would use the default config you've already set, or have a argument for that as well in this line like so:
migrate-mongo [up|down] --migration-file 'migrations/your-migration-file.js' --config 'my-config-file.js'
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: