From 13005b0363e4dafc12c2ebf0c1d76db121d9d8f3 Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Thu, 29 Nov 2018 22:03:22 +0100 Subject: [PATCH] Fix live output in ResetCommand This was forgotten in aab06e0. Fixes #1663. --- framework/core/src/Database/Console/ResetCommand.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/framework/core/src/Database/Console/ResetCommand.php b/framework/core/src/Database/Console/ResetCommand.php index 63eb3481c..20ebdbf7b 100644 --- a/framework/core/src/Database/Console/ResetCommand.php +++ b/framework/core/src/Database/Console/ResetCommand.php @@ -71,11 +71,8 @@ class ResetCommand extends AbstractCommand $this->info('Rolling back extension: '.$extensionName); - $notes = $this->manager->migrateDown($extension); - - foreach ($notes as $note) { - $this->info($note); - } + $this->manager->getMigrator()->setOutput($this->output); + $this->manager->migrateDown($extension); $this->info('DONE.'); }