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

backfill_legacy_project_repositories.rb « background_migration « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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