SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was toolong; max key length is 1000 bytes (SQL: alter table `users` add unique `users_email_unique`(`email`))
use Illuminate\Support\Facades\Schema;
public function boot()
{
Schema::defaultStringLength(191);
}
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
Also in PHP:
- console.php
- find contact page url by domain list php
- base64 php encode decode
- create array from string with commas php
- array size php
- check id strlen more than 10 laravel
- arduino create ip address from string
- checking if a string contains a certain word
- clear in laravel
- date_default_timezone_set("America/New_York"); echo "The time is " . date("h:i:sa");
- PHP Warning: require(/Applications/Ampps/www/SalesSystem/vendor/composer/../symfony/polyfill-php80/bootstrap.php): failed to open stream: No such file or directory in /Applications/Ampps/www/SalesSystem/vendor/composer/autoload_real.php on line 66
- codeigniter 3 last insert id
- addition in php
- clear all cache laravel server
- Allowed memory size of 1610612736 bytes exhausted
- date(w) in php
- drupal 8 user_load
- explode in php
- ALTER table migrations
- current date and time in php
- check if string contains specific word
- create a new project in laravel
- catch new exception php
- combine two query value in laravel 8