Added async application of migrations.