how to ignore index
zeroone2005 opened this issue · comments
sqlite3 index field is text ,convert to mysql get an error : MySQL failed adding index to column "sorting" in table ay_content: 1089 (HY000): Incorrect prefix key; the used key part isn't a string, the used length is longer than the key part, or the storage engine doesn't support unique prefix keys
Hi. I will need more info.
In general using a string index is not recommended, because it has to be truncated to a maximum length.
Please attach your database's DDL with some example data which can reproduce the error.
Also, please follow the bug report template and attach the required output.