PHP artisan migrate --seed 报错
php artisan migrate --seed 报错 为啥[Illuminate\Database\QueryException] SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (SQL: alter table
categoriesadd index
categories_name_index(
name`))
[PDOException]
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes `
推荐文章: