diff --git a/src/db/MysqlConnectionManager.ts b/src/db/MysqlConnectionManager.ts index e5ee183..deaa9fc 100644 --- a/src/db/MysqlConnectionManager.ts +++ b/src/db/MysqlConnectionManager.ts @@ -242,6 +242,9 @@ export default class MysqlConnectionManager { if (args.length > i + 1) { migrationId = parseInt(args[i + 1]); } + + logger.info('Rolling back migration', migrationId); + await this.prepare(false); await this.rollbackMigration(migrationId); return;