We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb819b0 commit 4c99a07Copy full SHA for 4c99a07
src/Commands/CreateMigrationCommand.php
@@ -821,7 +821,7 @@ protected function getPrimaryMethodName($type)
821
protected function getCommandInput()
822
{
823
$tableName = trim($this->argument('table-name'));
824
- $className = trim($this->option('migration-class-name')) ?: sprintf('Create%sTable', ucfirst($tableName));
+ $className = trim($this->option('migration-class-name')) ?: sprintf('Create%sTable', studly_case($tableName));
825
$connection = trim($this->option('connection-name'));
826
$engine = trim($this->option('engine-name'));
827
$fields = trim($this->option('fields'));
0 commit comments