Skip to content

Commit 0145119

Browse files
authored
Merge pull request #228 from ataft/patch-2
Update migration.js
2 parents 980b7e5 + eb143b0 commit 0145119

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/migration.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ function mixinMigration(MsSQL) {
340340
statements = statements.concat(self.getDropColumns(model, actualFields));
341341
statements = statements.concat(self.addIndexes(model, actualIndexes));
342342

343-
async.each(statements, function(query, fn) {
343+
async.eachSeries(statements, function(query, fn) {
344344
if (checkOnly) {
345345
fn(null, true, {statements: statements, query: query});
346346
} else {

0 commit comments

Comments
 (0)