diff --git a/lib/migrate.js b/lib/migrate.js index 41c20d9..e19c505 100644 --- a/lib/migrate.js +++ b/lib/migrate.js @@ -315,7 +315,7 @@ function runMigrations (direction, migrations, options) { const { r, conn } = options return migrations.reduce( (chain, migration) => chain.then(() => migration.code[direction](r, conn) - .then(emit('info', `Executed migration ${migration.name} ${options.op}`))), + .then(emit('info', `Executed migration ${migration.name} ${options.op} (file: ${migration.filename})`, options))), Promise.resolve() ).then(() => migrations) }