From e69ef7abc46667dbde9aa1a376cd26350b126063 Mon Sep 17 00:00:00 2001 From: Raza Mehdi Date: Thu, 10 Aug 2017 17:40:29 +0500 Subject: [PATCH] Show error message if a reverted migration is not found. --- src/Illuminate/Database/Migrations/Migrator.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Illuminate/Database/Migrations/Migrator.php b/src/Illuminate/Database/Migrations/Migrator.php index 09b5b179e2a0..d61d079a71d8 100755 --- a/src/Illuminate/Database/Migrations/Migrator.php +++ b/src/Illuminate/Database/Migrations/Migrator.php @@ -245,6 +245,7 @@ protected function rollbackMigrations(array $migrations, $paths, array $options) $migration = (object) $migration; if (! $file = Arr::get($files, $migration->migration)) { + $this->note("Can't find class to rollback for migration {$migration->migration}"); continue; }