Skip to content

Commit

Permalink
Merge pull request #228 from ataft/patch-2
Browse files Browse the repository at this point in the history
Update migration.js
  • Loading branch information
jannyHou authored May 12, 2020
2 parents 980b7e5 + eb143b0 commit 0145119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/migration.js
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ function mixinMigration(MsSQL) {
statements = statements.concat(self.getDropColumns(model, actualFields));
statements = statements.concat(self.addIndexes(model, actualIndexes));

async.each(statements, function(query, fn) {
async.eachSeries(statements, function(query, fn) {
if (checkOnly) {
fn(null, true, {statements: statements, query: query});
} else {
Expand Down

0 comments on commit 0145119

Please sign in to comment.