input->hasOption('path') && $this->option('path')) { return collect($this->option('path'))->map(function ($path) { return $this->laravel->basePath().'/'.$path; })->all(); } return array_merge( [$this->getMigrationPath()], $this->migrator->paths() ); } /** * Get the path to the migration directory. * * @return string */ protected function getMigrationPath() { return $this->laravel->databasePath().DIRECTORY_SEPARATOR.'migrations'; } }