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 `us ers_email_unique`(`email`)) [PDOExcepti

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 `us
ers_email_unique`(`email`))

 

[PDOException]
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes

 

链接网址:https://58hualong.cn/blog/post/laravel54alter-table-users-add-unique-users_email_uniqueemail

posted on 2017-12-04 11:38  盧鵬  阅读(1469)  评论(0)    收藏  举报