Skip to content

Add migration to rename ci_runner_machines.machine_xid

Pedro Pombeiro requested to merge pedropombeiro/390241/1-add-migration into master

What does this MR do and why?

Describe in detail what your merge request does and why.

This MR is part of a series of MRs that rename the recently introduced ci_runner_machines.machine_xid column to system_xid. It follows the procedure outlined in https://docs.gitlab.com/ee/development/database/avoiding_downtime_in_migrations.html. The whole sequence of MRs is:

sequence MR documentation
1 👉 Add migration to rename ci_runner_machines.mach... (!111426 - closed) Add the regular migration (release M)
2 Ignore ci_runner_machines.machine_xid column (!111427 - closed) Ignore the column (release M)
3 Rename ci_runner_machines.machine_xid to system... (!111428 - merged) Add a post-deployment migration (release M)

Part of #390241 (closed)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Pedro Pombeiro

Merge request reports