Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes (SQL: alter ta
use Illuminate\Support\Facades\Schema;
public function boot()
{
Schema::defaultStringLength(191);
}
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
Also in PHP:
- all date format in php
- check array with name exists php
- PHP copy table from one database to another
- dom javascript frontend
- clear all cache files in laravel
- date format c php
- database date time format in php
- Method Illuminate\Database\Eloquent\Collection::save does not exist.
- ->count_all_results() in code igniter
- datatype checking in php
- all my php codes redirects to one site
- dd laravel query
- expression is not allowed as parameter
- create folder with php
- Customer::insert([ 'customer_name' => $request->customer_name, 'customer_mobile'=> $request->customer_mobile, 'user_id'=>Auth::user()->id, 'created_at'=> Carbon::now() ]);
- exit try php
- difference entre deux date php
- check for type php
- Wordpress login page Background Image / Logo Image
- drupal create user
- find if string contains any of character php
- creat quik laravel app
- error php code
- date("Y")