diff --git a/src/Traits/DealsWithMigrations.php b/src/Traits/DealsWithMigrations.php index b2c56515..a51bfa57 100644 --- a/src/Traits/DealsWithMigrations.php +++ b/src/Traits/DealsWithMigrations.php @@ -8,7 +8,7 @@ trait DealsWithMigrations { protected function getMigrationPaths() { - if ($this->input->hasOption('path')) { + if ($this->input->hasOption('path') && $this->input->getOption('path')) { return parent::getMigrationPaths(); }