31 lines
545 B
PHP
31 lines
545 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use Closure;
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class AppServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Register any application services.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function register()
|
|
{
|
|
//
|
|
}
|
|
|
|
public function boot()
|
|
{
|
|
$migrations_path = base_path() . '/../database/migrations';
|
|
$default_path = database_path('migrations');
|
|
|
|
$this->loadMigrationsFrom([
|
|
$default_path,
|
|
$migrations_path
|
|
]);
|
|
}
|
|
}
|