From 39859d0347255231156a3bcb8941c83b32a2c96d Mon Sep 17 00:00:00 2001 From: James Mortemore Date: Thu, 2 Apr 2020 17:45:00 +0100 Subject: [PATCH] fix(api): pass migrationName to create correctly fixes #652 --- api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.js b/api.js index e58f776d..26fe7802 100644 --- a/api.js +++ b/api.js @@ -333,7 +333,7 @@ dbmigrate.prototype = { this.internals.matching = scope; } - this.internals.argv._.push(migrationName); + this.internals.argv._.unshift(migrationName); return Promise.resolve( executeCreateMigration(this.internals, this.config) ).asCallback(callback);