SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes (SQL: a lter table `users` add unique `users_email_unique`(`email`))
// Go to your AppServiceProvider.php and update the boot() method with:useIlluminateSupportFacadesSchema;/**
* Bootstrap any application services.
*
* @returnvoid
*/publicfunctionboot(){Schema::defaultStringLength(191);}