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