Including schema to avoid DB error on hostgator

This commit is contained in:
Bruno F. Fontes 2018-09-17 08:09:20 -05:00
parent c38744e392
commit 80bc4236cd

View File

@ -3,6 +3,7 @@
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Schema;
class AppServiceProvider extends ServiceProvider
{
@ -13,6 +14,7 @@ class AppServiceProvider extends ServiceProvider
*/
public function boot()
{
Schema::defaultStringLength(191); //Solved by increasing StringLength
//
}