1071 Specified key was t oo long; max key length is 3072 bytes laravel
use Illuminate\Support\Facades\Schema;
public function boot()
{
Schema::defaultStringLength(191);
}
Also in PHP:
- check is string contains
- : 1071 Specified key was too long; max key length is 767 bytes (SQL: alter tabl e `users` add unique `users_email_unique`(`email`))
- cron.php
- check if word belongs in string
- declare variable in view for loop laravel
- PHP Fatal error: Uncaught Error: Call to undefined function mcrypt_encrypt()
- codeigniter get last inserted data row
- @if($success->any())
- api inside header php
- digitalocean php as text
- cache set in laravel
- current url route laravel
- - phpunit/phpunit 7.5.9 requires ext-dom * -> the requested PHP extension dom is missing from your system.
- If start of string contains php
- find carain string php
- composer laravel 6 install
- execute query and use die in php
- 'PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 282624 bytes)
- check string for value php
- Tto upper php
- clear date formatting php
- create seed class in laravel
- +1 day to date in php
- clear server cache laravel