不要怂,就是干,撸起袖子干!

Commit 185444d2 by Shaun Rader

Fix issue with incorrect migrations in SequelizeMeta being deleted when revertin…

…g multiple migrations
1 parent effcf189
Showing with 1 additions and 1 deletions
...@@ -49,8 +49,8 @@ module.exports = (function() { ...@@ -49,8 +49,8 @@ module.exports = (function() {
, from = migrations[0] , from = migrations[0]
if(options.method == 'down') { if(options.method == 'down') {
migrations.reverse()
from = migrations[0] from = migrations[0]
migrations.reverse()
} }
migrations.forEach(function(migration) { migrations.forEach(function(migration) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!