/** * Call rollback. * * @param $migration * * @return null */ protected function rollbackMigration($migration) { if ($this->migrator->doesMigrationFileExist($migration)) { $this->migrator->rollbackMigration($migration); } else { $this->markRolledBackWithConfirmation($migration); } $this->message("<info>Rolled back:</info> {$migration}.php"); }