From ac4f417ff1b0f82b2175e1707f068eca021b31cb Mon Sep 17 00:00:00 2001 From: Eoin McCarthy Date: Thu, 21 Sep 2023 19:51:53 +0100 Subject: [PATCH] fix(api): pass migrationName to create correctly #678 onto .11 branch --- api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.js b/api.js index e3e5781f..9aeef131 100644 --- a/api.js +++ b/api.js @@ -336,7 +336,7 @@ dbmigrate.prototype = { this.internals.matching = scope; } - this.internals.argv._.push(migrationName); + this.internals.argv._.unshift(migrationName); return Promise.fromCallback( function (callback) { executeCreateMigration(this.internals, this.config, callback);