Open bdcorps opened 4 years ago
this feature should be useful. request for custom up and custom down :)
@seppevs would you be able to review this? Also, if you're not happy with this approach, could you suggest some alternatives?
@seppevs any chance this could be merged? would be super useful
@shweshi @MaikeMota bump
Added with modifications in migrate-mongo-alt
Adds a
custom
switch toup
command as presented in #250. Runningmigrate-mongo up --custom migrate1.js
allows you to bypass the database changelog checking to immediately apply the migration. Very useful for testing migration scripts.Checklist
npm test
passes and has 100% coverage