Skip to content

Commit f5e025b

Browse files
rahulbileTom Kirkpatrick
authored andcommitted
fix: mark migration as finished after running successfully (#13)
1 parent 72bff5a commit f5e025b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/models/migration.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ module.exports = function(Migration, options) {
7777
runDtTm: new Date()
7878
});
7979
}
80+
Migration.finish();
8081
cb();
8182
});
8283
} catch (err) {

0 commit comments

Comments
 (0)