Files
gitlab-foss/lib/gitlab/background_migration/backfill_finding_initial_pipeline_id.rb
2024-05-20 12:13:44 +00:00

21 lines
667 B
Ruby

# frozen_string_literal: true
module Gitlab
module BackgroundMigration
# This batched background migration is EE-only, see
# ee/lib/ee/gitlab/background_migration/backfill_finding_initial_pipeline_id.rb
# for the actual migration code.
#
# This batched background migration will backfill the
# `initial_pipeline_id` field in `vulnerability_occurrences` table
# for records with `initial_pipeline_id: nil`
class BackfillFindingInitialPipelineId < BatchedMigrationJob
feature_category :vulnerability_management
def perform; end
end
end
end
Gitlab::BackgroundMigration::BackfillFindingInitialPipelineId.prepend_mod