Skip to content

[Draft] Run clean-up for `JiraTrackerData#deployment_type` migration

What does this MR do?

This MR introduces a new post-deployment migration to fix the data for the jira_tracker_data#deployment_type column for the remaining records after !59902 (merged), if there is any(for GitLab.com we have 29_290 records).

Related to #331793.

Database migration

Timing

We can use the original MR(!59902 (merged)) as the reference.

rake db:migrate:up VERSION=20210513163904
== 20210707144054 CleanupJiraTrackerDataDeploymentType: migrating =============
== 20210707144054 CleanupJiraTrackerDataDeploymentType: migrated (0.0713s) ====
rake db:migrate:down VERSION=20210513163904
== 20210513163904 CleanupMoveContainerRegistryEnabledToProjectFeature: reverting
== 20210513163904 CleanupMoveContainerRegistryEnabledToProjectFeature: reverted (0.0000s)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • 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 Mehmet Emin INAC

Merge request reports