percolatestudio / meteor-migrations

Simple migration system for Meteor
https://atmospherejs.com/percolate/migrations
MIT License
245 stars 58 forks source link

Skip a migration? #77

Closed raza2022 closed 6 years ago

raza2022 commented 6 years ago

First Thanks for the Great work @zol and all Maintainers :+1: I have a very specific use case. I elaborate it with Example let's say I added migration 8 in which I adding a new key to documents of a collection if not exists. suddenly my manager said we don't need it :( . so ok right I downgraded to previous version 7 and all is well. Now the issue is am going to add v9. but whenever I migration to v9 or latest it first run the v8 and then v9 so how can I skip the v8 and directly migrate to v9 Note :- I know that I just overwrite the v9 functionality within v8 but I have multiple environments so I don't want to interfere the old one I just want to add new migration version Any help will be greatly appreciated