Logging migration path
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
namespace App\Providers;
|
namespace App\Providers;
|
||||||
|
|
||||||
use Closure;
|
use Closure;
|
||||||
|
use Illuminate\Support\Facades\Log;
|
||||||
use Illuminate\Support\ServiceProvider;
|
use Illuminate\Support\ServiceProvider;
|
||||||
|
|
||||||
class AppServiceProvider extends ServiceProvider
|
class AppServiceProvider extends ServiceProvider
|
||||||
@@ -22,6 +23,9 @@ class AppServiceProvider extends ServiceProvider
|
|||||||
$migrations_path = CORE_PATH . '/database/migrations';
|
$migrations_path = CORE_PATH . '/database/migrations';
|
||||||
$default_path = database_path('migrations');
|
$default_path = database_path('migrations');
|
||||||
|
|
||||||
|
Log::debug('migrations=' . $migrations_path);
|
||||||
|
Log::debug('default=' . $default_path);
|
||||||
|
|
||||||
$this->loadMigrationsFrom([
|
$this->loadMigrationsFrom([
|
||||||
$default_path,
|
$default_path,
|
||||||
$migrations_path
|
$migrations_path
|
||||||
|
|||||||
Reference in New Issue
Block a user