Skip to content

Commit

Permalink
Make success message of migration creation similar to other entity re…
Browse files Browse the repository at this point in the history
…lated makers. (#44972)
  • Loading branch information
ajaxray authored Nov 16, 2022
1 parent 47756e9 commit 5774310
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ protected function writeMigration($name, $table, $create)
$file = pathinfo($file, PATHINFO_FILENAME);
}

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

/**
Expand Down
1 change: 1 addition & 0 deletions src/Illuminate/Foundation/Console/ModelMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ protected function createMigration()
$this->call('make:migration', [
'name' => "create_{$table}_table",
'--create' => $table,
'--fullpath' => true,
]);
}

Expand Down

0 comments on commit 5774310

Please sign in to comment.