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

module Gitlab
  module BackgroundMigration
    # Class that will fill the project_repositories table for projects that
    # are on legacy storage and an entry is is missing in this table.
    class BackfillLegacyProjectRepositories < BackfillProjectRepositories
      private

      def projects
        Project.with_parent.on_legacy_storage
      end
    end
  end
end