1 PDOException::("SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes")
use Illuminate\Support\Facades\Schema;
public function boot()
{
Schema::defaultStringLength(191);
}
Also in PHP:
- cache delete or forget in laravel
- add errors php
- date( ) php
- check if a string contains specific words in php
- convert stdclass object to array php
- Failed at the @ dev script 'node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js'.
- ci db query error
- file_get_contents('php //input')
- apagar cache laravel
- add data to laravel many to many relationship
- Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) laravel
- char to uppercase php
- artisan run seed
- current date php function
- create random_str laravel
- clear cache policy
- codeigniter redirect
- @if($success->any())
- Database name seems incorrect You're using the default database name laravel. This database does not exist. Edit the .env file and use the correct database name in the DB_DATABASE key.
- Call to a member function diffForHumans() on null (View: C:\xampp\htdocs\basic\resources\views\dashboard.blade.php)
- codeigniter form_validation email
- date php formats
- Tests\Feature\BlogTest > user can delete post 162 Illuminate\Encryption\MissingAppKeyException No application encryption key has been specified.
- count character php