Monday, November 6, 2017

Specified key was too long error in laravel 5.4 in case of old mysql / mariadb

use Illuminate\Support\Facades\Schema;

public function boot()
{
    Schema::defaultStringLength(191);
}



changed to AppServiceProvider.php file

css snippet for blogger code highlighting

code, .code {     display: block;     background: beige;     padding: 10px;     margin: 8px 15px; }