Schema migrations: what package/tool do you use?


#1

i’ve had no problem with percolate:migrations, up until locking down my data using simple-schema / collection2. i.e. $unset an array from a document throws a schema-not-allowed error.

///no dice...
  Migrations.add({
    version: 3,
    name: 'users.removeDeliveryPreferences',
    up: function() {
      Meteor.users.update({}, {
        $unset: { 'profile.deliveryPreferences': '' }
      });
    },

I was pretty surprised to see that percolate:migrations is now failing build on github, and the other two main Meteor soultions are [deprecated] (https://github.com/bookmd/schema-migrations/) or suggesting otherwise…

What’s the move from here - what are you people using in production successfully for this kind of stuff?