Skip to content

Commit

Permalink
always show full path to migration
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jan 6, 2023
1 parent b5ad135 commit 9f6ff48
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class MigrateMakeCommand extends BaseCommand
{--table= : The table to migrate}
{--path= : The location where the migration file should be created}
{--realpath : Indicate any provided migration file paths are pre-resolved absolute paths}
{--fullpath : Output the full path of the migration}';
{--fullpath : Output the full path of the migration (Deprecated)}';

/**
* The console command description.
Expand Down Expand Up @@ -110,10 +110,6 @@ protected function writeMigration($name, $table, $create)
$name, $this->getMigrationPath(), $table, $create
);

if (! $this->option('fullpath')) {
$file = pathinfo($file, PATHINFO_FILENAME);
}

$this->components->info(sprintf('Migration [%s] created successfully.', $file));
}

Expand Down

0 comments on commit 9f6ff48

Please sign in to comment.