/** * Run 'down' a migration. * * @param MigrationInterface $migration * @return void */ protected function _runDown(MigrationInterface $migration) { try { $migration->down(); $this->_note('<comment>- Ran down ' . $migration->getReference() . '</comment>'); } catch (Exception $e) { $this->_note('<error>- Failed to run down ' . $migration->getReference() . ' with message ' . $e->getMessage() . '</error>'); return; } $this->_deletor->delete($migration); }