diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index adeb8fbe8..60c2aec65 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -6,6 +6,7 @@ use App\User; use Auth, Horizon; use App\Observers\UserObserver; use Illuminate\Support\Facades\Blade; +use Illuminate\Support\Facades\Schema; use Illuminate\Support\ServiceProvider; class AppServiceProvider extends ServiceProvider @@ -17,6 +18,8 @@ class AppServiceProvider extends ServiceProvider */ public function boot() { + Schema::defaultStringLength(191); + User::observe(UserObserver::class); Horizon::auth(function ($request) {