Skip to content

Commit

Permalink
fix: mark migration as finished after running successfully (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulbile authored and Tom Kirkpatrick committed Jan 5, 2017
1 parent 72bff5a commit f5e025b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/models/migration.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ module.exports = function(Migration, options) {
runDtTm: new Date()
});
}
Migration.finish();
cb();
});
} catch (err) {
Expand Down

0 comments on commit f5e025b

Please sign in to comment.