percolatestudio / meteor-migrations

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

Async Migrations are not run in sequence #89

Open vparpoil opened 3 days ago

vparpoil commented 3 days ago

Let's say you have 2 async migrations that needs to be run. Migration 2 should wait for Migration 1 to be completed to execute.

Since migrate() function is not async and not awaited, this doesn't work

I will work on a PR for this