diff --git a/lib/migrate.js b/lib/migrate.js index 4ed5adc..4204843 100644 --- a/lib/migrate.js +++ b/lib/migrate.js @@ -741,7 +741,8 @@ module.exports = { if (index < migrationCommands.length) { let command = migrationCommands[index]; - console.log("[#"+index+"] execute: " + command.fn); + const tableName = (command.params && command.params[0]) || '' + console.log("[#"+index+"] execute: " + command.fn + " " + tableName); index++; queryInterface[command.fn].apply(queryInterface, command.params).then(next, reject); }