Open ftreguer opened 3 years ago
This feature is very interesting! What is missing to merge this PR?
We should also update the README with the new -b --block option added to down command.
EDIT : sorry, actually there is no need to do that as there is the --help option
any updates on this feature ?
Hi Team,
Regarding PR, Enable rollback of all scripts from same migration #331 when it can be commited to main branch
Regards Pavan
Any Update on this, We are looking for this feature
Hi, @seppevs. this PR are so important for all of us. can you merge please?
Any update on why this PR has not been merged yet?
Hi, here is a possible implementation of
migrate-mongo down
command to enable rollback of several migration scripts of a same migration. When you process to migration you can rollback all migrations scripts from a same migration.If you have 3 pending migartions and you run
migrate-mongo up
,migrate-mongo down --block
command will rollback the three migration scripts.It could be usefull if you want to integrate it.
Thank you :)
Checklist
npm test
passes and has 100% coverage