From 3b96c7a743f6f0a954e2b8df05a9d65f3b456566 Mon Sep 17 00:00:00 2001 From: Matt McCaffrey Date: Thu, 16 Mar 2017 12:39:37 -0400 Subject: [PATCH] Showing name instead of full path --- src/Illuminate/Database/Migrations/Migrator.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Illuminate/Database/Migrations/Migrator.php b/src/Illuminate/Database/Migrations/Migrator.php index e1f6167e4a0c..f8c10537689e 100755 --- a/src/Illuminate/Database/Migrations/Migrator.php +++ b/src/Illuminate/Database/Migrations/Migrator.php @@ -172,7 +172,7 @@ protected function runUp($file, $batch, $pretend) return $this->pretendToRun($migration, 'up'); } - $this->note("Migrating: {$file}"); + $this->note("Migrating: {$name}"); $this->runMigration($migration, 'up'); @@ -319,7 +319,7 @@ protected function runDown($file, $migration, $pretend) $name = $this->getMigrationName($file) ); - $this->note("Rolling back: {$file}"); + $this->note("Rolling back: {$name}"); if ($pretend) { return $this->pretendToRun($instance, 'down');