Skip to content

Switch to Ci::ApplicationRecord for this BG migration

Thong Kuah requested to merge bg_migration_ci_application_record into master

What does this MR do and why?

Switch to using Ci::ApplicationRecord.connection for this BG migration (Gitlab::BackgroundMigration::NullifyOrphanRunnerIdOnCiBuilds)

This ensures that this BG migration will work for decomposed databases as well

Related issue: #359952 (closed)

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

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 Thong Kuah

Merge request reports