This commit is contained in:
yunwuxin 2016-08-08 17:57:54 +08:00
parent 2384bbe03a
commit a856b7c51b

View File

@ -29,7 +29,6 @@
namespace Phinx\Db\Adapter;
use think\console\Output;
use think\console\output\Nothing as NothingOutput;
use Phinx\Db\Table;
use Phinx\Db\Table\Column;
use Phinx\Migration\MigrationInterface;
@ -140,7 +139,7 @@ abstract class PdoAdapter implements AdapterInterface
public function getOutput()
{
if (null === $this->output) {
$output = new NothingOutput();
$output = new Output('nothing');
$this->setOutput($output);
}
return $this->output;