Add extra check when renaming container_registry_protection_rules index
What does this MR do and why?
This MR adds an extra index existence check as a precaution to prevent failing migrations when renaming an index after renaming a column in the container_registry_protection_rules
table.
Related thread: !137945 (comment 1695101068)
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.