debian-mirror-gitlab/lib/gitlab/background_migration/populate_vulnerability_historical_statistics.rb
2021-06-08 01:23:25 +05:30

15 lines
537 B
Ruby

# frozen_string_literal: true
module Gitlab
module BackgroundMigration
# This class creates/updates those project historical vulnerability statistics
# that haven't been created nor initialized. It should only be executed in EE.
class PopulateVulnerabilityHistoricalStatistics
def perform(project_ids, retention_period = 90)
end
end
end
end
Gitlab::BackgroundMigration::PopulateVulnerabilityHistoricalStatistics.prepend_mod_with('Gitlab::BackgroundMigration::PopulateVulnerabilityHistoricalStatistics')