Skip to content

Commit

Permalink
Fix too long key error during migration for some MySQL setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Bubka committed Dec 1, 2020
1 parent 92be597 commit e7156d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace App\Providers;

use Illuminate\Support\Facades\Blade;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\ServiceProvider;


Expand All @@ -26,5 +27,6 @@ public function register()
public function boot()
{
Blade::withoutComponentTags();
Schema::defaultStringLength(191);
}
}

0 comments on commit e7156d0

Please sign in to comment.