title: Laravel 5.6: Migration from a specific folder
body: <p>I am trying to use <code>php artisan migrate --path="/database/migrations/ef</code> to use only the migrations in that path. But I got <code>"Nohting no migrate"</code> and the migration files are in that direction.</p>
  
  <p>I tried to adding this to boot method in AppServiceProvider, that is from this link <a href="https://stackoverflow.com/questions/21641606/laravel-running-migrations-on-app-database-migrations-folder-recursively">Laravel running migrations on &quot;app/database/migrations&quot; folder recursively</a>: </p>
  
  <pre><code>$mainPath = database_path('migrations');
  $directories = glob($mainPath . '/*' , GLOB_ONLYDIR);
  $paths = array_merge([$mainPath], $directories);
  
  $this-&gt;loadMigrationsFrom($paths);
  </code></pre>
  
  <p>But it does not work either.</p>