2021-01-30 00:09:06 +00:00
|
|
|
# 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
|
|
|
|
|
2021-02-25 18:11:05 +00:00
|
|
|
def perform(*_scan_ids); end
|
2021-01-30 00:09:06 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2021-05-11 21:10:21 +00:00
|
|
|
Gitlab::BackgroundMigration::PopulateUuidsForSecurityFindings.prepend_mod_with('Gitlab::BackgroundMigration::PopulateUuidsForSecurityFindings')
|