在测试队列中运用artisan命令行php artisan queue:tablephp artisan migrate时出现SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytesChange database.php which is in config folder where it says‘charset‘ => ‘utf8mb4‘, ‘collation‘ => ‘utf8mb4_unicode_ci‘, I changed these to‘charset‘ => ‘utf8‘, ‘collation‘ => ‘utf8_unicode_ci‘,