Fix old migration to make it Ruby 3-compatible
What does this MR do and why?
This causes and issue on our Ruby 3 branch because it's not compatible with the new kwargs syntax.
Split from !70798 (diffs), we want to reduce the diff of the mentioned MR as much as possible.
Usually, we avoid touching old migrations code, but in this case, it breaks the CI.
How to set up and validate locally
Rely on CI
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.
Related to #340298 (closed)
Edited by Aleksei Lipniagov