Version 1.0
This commit is contained in:
30
app/Providers/AppServiceProvider.php
Normal file
30
app/Providers/AppServiceProvider.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?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
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user