public function undo() { try { \Artisan::call('migrate:rollback'); } catch (Exception $e) { $this->addError('exception', $e->getMessage()); return false; } return true; }