Reduce work for verifying transaction completion

This commit is contained in:
Daniel Gasienica 2018-03-26 19:11:21 -04:00
parent b6e978f74c
commit 178a3cc262

View file

@ -43,6 +43,6 @@ exports.runMigrations = async ({ Backbone, database } = {}) => {
storeName: 'items',
}))();
await deferredToPromise(migrationCollection.fetch());
await deferredToPromise(migrationCollection.fetch({ limit: 1 }));
await closeDatabase(database.id);
};