shareit/app/Providers/AppServiceProvider.php

31 lines
513 B
PHP
Raw Normal View History

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