summaryrefslogtreecommitdiff
path: root/lib/gitlab/background_migration/populate_any_approval_rule_for_merge_requests.rb
blob: c3c0db2495c60540cfa2f429cb2ccf4e90e76862 (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 merge request IDs range. A _single_ INSERT is issued for the given range.
    class PopulateAnyApprovalRuleForMergeRequests
      def perform(from_id, to_id)
      end
    end
  end
end

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