Скачать
Specified key was too long error ( Laravel 5.5 Fixed )
Автор: Intact Code
Загружено: 2017-11-24
Просмотров: 403
Описание:
Hello guyz today iam going to show you how to fix::
[Illuminate\Database\QueryException]
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key
was too long; max key length is 767 bytes (SQL: alter table `users` ad
d unique `users_email_unique`(`email`))
these errors in laravel while migration
1.Go to app/Providers/AppServiceProvider.php open the file.
2.Here you have to set a default string length.
3.add this to boot method
Schema::defaultStringLength(191);
5.Dont forget to add namespace
use Illuminate\Support\Facades\Schema;
Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: