Welcome to mirror list, hosted at ThFree Co, Russian Federation.

populate_any_approval_rule_for_projects.rb « background_migration « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ac7ed18ba14a7a50d6d13310b2e21caaa3e86c30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

module Gitlab
  module BackgroundMigration
    # This background migration creates any approver rule records according
    # to the given project IDs range. A _single_ INSERT is issued for the given range.
    class PopulateAnyApprovalRuleForProjects
      def perform(from_id, to_id)
      end
    end
  end
end

Gitlab::BackgroundMigration::PopulateAnyApprovalRuleForProjects.prepend_mod_with('Gitlab::BackgroundMigration::PopulateAnyApprovalRuleForProjects')