Add mysql_compatible_index_length to migration helpers (EE)

What does this MR do?

EE version for https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/21852

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ce/issues/50253

Does this MR meet the acceptance criteria?

Merge request reports

Loading