summaryrefslogtreecommitdiff
path: root/lib/gitlab/background_migration/populate_uuids_for_security_findings.rb
blob: 3d3970f50e18abbf1c2e1f2dcfa72c6fbd5e8ff2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# frozen_string_literal: true

module Gitlab
  module BackgroundMigration
    # rubocop:disable Style/Documentation
    class PopulateUuidsForSecurityFindings
      NOP_RELATION = Class.new { def each_batch(*); end }

      def self.security_findings
        NOP_RELATION.new
      end

      def perform(_scan_ids); end
    end
  end
end

Gitlab::BackgroundMigration::PopulateUuidsForSecurityFindings.prepend_if_ee('::EE::Gitlab::BackgroundMigration::PopulateUuidsForSecurityFindings')