I am reading though this article: https://railsmachine.com/articles/2017/05/19/converting-a-rails-database-to-utf8mb4.html
... we have converted several large databases to utf8mb4 with no downtime and no data loss from truncation.
What does he mean by data loss truncation? What I want to do is to change the table to utf8mb4 and that inforce me to change the index limit to 191. So in my dev env what I did is:
- removing the index (old
varchar(255)
) - convert the table to use utf8mb4 charset
- recreate the index with limit of 191
Does changing the index size will cause to losing any real data from my database?