Improve build stages reference migration
What does this MR do?
This MR improves stages reference migration:
- removes an index to make it possible to use HOT update strategy
- disables transactions in migration that is using
update_column_in_batches
.
What are the relevant issue numbers?
Closes gitlab-org/gitlab-ce#33866
Edited by Grzegorz Bizon