Skip to content

Add option to background migration helper

Steve Abrams requested to merge sabrams-bg-migration-helper into master

What does this MR do?

An option is added to the background migration helper queue_background_migration_jobs_by_range_at_intervals to allow specification of the primary_column_name.

The method uses id by default, but some tables do not have a primary key of id. This MR gives the option to specify a different column, such as project_id.

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team
Edited by Steve Abrams

Merge request reports