option('rollback')) { $result = $migrationService->rollbackMasterMigrations($this->option('step')); $this->info($result['message']); $this->line($result['output']); } else { $result = $migrationService->runMasterMigrations(); $this->info($result['message']); if (!empty($result['migrations'])) { $this->table(['Master Migrations'], array_map(fn($m) => [$m], $result['migrations'])); } } } }