橘子菌
2017-05-19 17:37
php artisan migrate
E:\wamp\www\log>php artisan migrate
Migration table created successfully.
[Illuminate\Database\QueryException]
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes (SQL: alter table `users` add unique `users_email_unique`(`email`))
[PDOException]
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes
编码和laravel框架 里的数据库配置一样,数据库版本是5.7.14,迁移过去两张表,但是重置密码的表没有导进去,求解
哎,问了不管事呀,用笨办法自己解决了
轻松学会Laravel-高级篇
35277 学习 · 138 问题
相似问题