Exemplo n.º 1
0
 /**
  * Register a database migration path.
  *
  * @param  array|string  $paths
  * @return void
  */
 protected function loadMigrationsFrom($paths)
 {
     $this->app->afterResolving('migrator', function ($migrator) use($paths) {
         foreach ((array) $paths as $path) {
             $migrator->path($path);
         }
     });
 }