I have an mysql column that needs to support emoji, and that means converting a utf8 column into a utf8mb4. But my varchar(255) won't fit, so long as the column is indexed (not unique).
How can I keep the index, and get the utf8mb4 collation?
I've tried to just reduce the length to 191 but unfortunately some of my rows are longer and I get this error: #1406 - Data too long for column 'column_name' at row 33565
(which isn't terribly helpful since I don't have an auto-increment column and have no idea how to fine row 33565).