CREATE UNIQUE INDEX unique_app_id ON uc_app(app_id(255))
这是语句,会报错: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求解