Skip to content

Commit cfec59d

Browse files
authored
Merge pull request #678 from confuser/confuser-patch-1
fix(api): pass migrationName to create correctly
2 parents 823d439 + 388b779 commit cfec59d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ dbmigrate.prototype = {
340340
this.internals.matching = scope;
341341
}
342342

343-
this.internals.argv._.push(migrationName);
343+
this.internals.argv._.unshift(migrationName);
344344
return Promise.resolve(
345345
executeCreateMigration(this.internals, this.config)
346346
).asCallback(callback);

0 commit comments

Comments
 (0)