What do you want to save?
Add Code snippet
New code examples
-
PHP 2022-01-22 09:36:37
Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes laravel 8
// Update your /app/Providers/AppServiceProvider.php to contain: use Illuminate\Support\Facades\Schema; public function boot() { Schema::defaultStringLength(191); } //ON this error // PDOException::("SQLSTATE[42S01]: Base table or view alre... Add solution -
PHP 2021-10-18 17:59:05
PDOException::("SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes") laravel 8
// Update your /app/Providers/AppServiceProvider.php to contain: use Illuminate\Support\Facades\Schema; public function boot() { Schema::defaultStringLength(191); } //ON this error // PDOException::("SQLSTATE[42S01]: Base table or view alre... Add solution -
PHP 2021-09-06 23:09:01
ERROR 1071 (42000) at line 76: Specified key was too long; max key length is 767 bytes laravel
// Update your /app/Providers/AppServiceProvider.php to contain: use Illuminate\Support\Facades\Schema; public function boot() { Schema::defaultStringLength(191); } //ON this error // PDOException::("SQLSTATE[42S01]: Base table or view alre... Add solution