Manually close database connection after migration

This commit is contained in:
Daniel Gasienica
2018-03-26 16:23:34 -04:00
parent 106ce21c49
commit da144edc56
4 changed files with 31 additions and 16 deletions

View File

@@ -11,5 +11,5 @@ exports.migrations = [
},
];
exports.run = ({ Backbone, closeDatabase, Database } = {}) =>
runMigrations({ Backbone, closeDatabase, database: Database });
exports.run = ({ Backbone, Database } = {}) =>
runMigrations({ Backbone, database: Database });