Skip to content

Commit 9f6ff48

Browse files
committed
always show full path to migration
1 parent b5ad135 commit 9f6ff48

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/Illuminate/Database/Console/Migrations/MigrateMakeCommand.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class MigrateMakeCommand extends BaseCommand
1818
{--table= : The table to migrate}
1919
{--path= : The location where the migration file should be created}
2020
{--realpath : Indicate any provided migration file paths are pre-resolved absolute paths}
21-
{--fullpath : Output the full path of the migration}';
21+
{--fullpath : Output the full path of the migration (Deprecated)}';
2222

2323
/**
2424
* The console command description.
@@ -110,10 +110,6 @@ protected function writeMigration($name, $table, $create)
110110
$name, $this->getMigrationPath(), $table, $create
111111
);
112112

113-
if (! $this->option('fullpath')) {
114-
$file = pathinfo($file, PATHINFO_FILENAME);
115-
}
116-
117113
$this->components->info(sprintf('Migration [%s] created successfully.', $file));
118114
}
119115

0 commit comments

Comments
 (0)