percolatestudio/meteor-migrations — pull request #7 by djlestephane (2014-03-08 13:30:43+00:00)
Title: Fix for "Not migrating, control is locked." which may happen when {locked: "false"} instead of {locked: false}

I regularly reset the locked flag with Robomongo. For lack of sleep i yesterday reset it with the value "false" (a String) instead of false (a boolean). The result: meteor-migrations refused to perform the migration, again and again, saying "Not migrating, control is locked.", and I could have torn my eyeballs out for an hour, not understanding what I was doing wrong. I think this patch will help everyone keep their sanity. I love this package, so keep it up! Would love the successive migration steps (and their failed attempts) to be logged to the migrations table to assist troubleshooting, in terms of establishing a single source of truth when it comes to the migration timeline. Other than that, very happy with it.