2018-09-07 23:12:34 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Providers;
|
|
|
|
|
2018-09-17 13:09:20 +00:00
|
|
|
use Illuminate\Support\Facades\Schema;
|
2021-05-20 23:37:35 +00:00
|
|
|
use Illuminate\Support\ServiceProvider;
|
2018-09-07 23:12:34 +00:00
|
|
|
|
|
|
|
class AppServiceProvider extends ServiceProvider
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Bootstrap any application services.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function boot()
|
|
|
|
{
|
2021-05-20 23:37:35 +00:00
|
|
|
Schema::defaultStringLength(191); //Solved by increasing StringLength
|
2018-09-07 23:12:34 +00:00
|
|
|
//
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Register any application services.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function register()
|
|
|
|
{
|
|
|
|
//
|
|
|
|
}
|
|
|
|
}
|