Skip to content

Commit

Permalink
Showing name instead of full path
Browse files Browse the repository at this point in the history
  • Loading branch information
mmccaff authored Mar 16, 2017
1 parent 2328c7a commit 3b96c7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Database/Migrations/Migrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ protected function runUp($file, $batch, $pretend)
return $this->pretendToRun($migration, 'up');
}

$this->note("<info>Migrating:</info> {$file}");
$this->note("<info>Migrating:</info> {$name}");

$this->runMigration($migration, 'up');

Expand Down Expand Up @@ -319,7 +319,7 @@ protected function runDown($file, $migration, $pretend)
$name = $this->getMigrationName($file)
);

$this->note("<info>Rolling back:</info> {$file}");
$this->note("<info>Rolling back:</info> {$name}");

if ($pretend) {
return $this->pretendToRun($instance, 'down');
Expand Down

0 comments on commit 3b96c7a

Please sign in to comment.