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

@@ -145,5 +145,5 @@ const database = {
migrations,
};
exports.run = ({ Backbone, closeDatabase } = {}) =>
runMigrations({ Backbone, closeDatabase, database });
exports.run = ({ Backbone } = {}) =>
runMigrations({ Backbone, database });