Fix migration error when copying indexes
What does this MR do and why?
This MR fixes the migration error when indexes with special definitions are attempted to be copied over to the new column.
The problem is described here: gitlab-com/gl-infra/production#7762 (closed)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.