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 4ddee22 commit 011d9c0Copy full SHA for 011d9c0
src/Console/Traits/DataMigrationCommandTrait.php
@@ -24,7 +24,7 @@ trait DataMigrationCommandTrait
24
*/
25
protected function getMigrationPath()
26
{
27
- if (!is_null($targetPath = $this->input->getOption('path'))) {
+ if (is_string($targetPath = $this->input->getOption('path'))) {
28
return $this->laravel->basePath() . '/' . $targetPath;
29
} else {
30
return $this->laravel->databasePath() . DIRECTORY_SEPARATOR . 'migrations_data';
0 commit comments