#1071 - Specified key was too long; max key length is 767 bytes voyger laravel
use Illuminate\Support\Facades\Schema;
public function boot()
{
Schema::defaultStringLength(191);
}
use Illuminate\Support\Facades\Schema;
public function boot()
{
Schema::defaultStringLength(191);
}
Also in PHP:
- date in laravel
- clear cache laravel and composer
- $pdo= new PDO(
- check text in string php
- array_push
- "codeigniter 4" cart
- check if contains a var php
- check if string container string php
- display folder contents php
- config cache clear with code laravel
- Seeding: and no result laravel
- Cross-site request forgery validation failed. Required param "state" missing from persistent data
- Which are valid PHP error handling keywords? try throw catch finally
- cahe laravel
- enable display error in php
- adding days in date, php
- catch(Exception $e
- create alphanumeric code php
- check string length in php
- day of the week th usig php
- android studio clear cache
- date to string php
- check if a string has specific word and ignore it
- codeigniter return id of last added record