Skip to content

Commit 5774310

Browse files
authored
Make success message of migration creation similar to other entity related makers. (#44972)
1 parent 47756e9 commit 5774310

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ protected function writeMigration($name, $table, $create)
114114
$file = pathinfo($file, PATHINFO_FILENAME);
115115
}
116116

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

120120
/**

src/Illuminate/Foundation/Console/ModelMakeCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ protected function createMigration()
117117
$this->call('make:migration', [
118118
'name' => "create_{$table}_table",
119119
'--create' => $table,
120+
'--fullpath' => true,
120121
]);
121122
}
122123

0 commit comments

Comments
 (0)