數據遷移小問題

數據遷移出現一下報錯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 email(email)) 原因: MySql支持的utf8編碼最大字符長度爲3字節
相關文章
相關標籤/搜索