debian-mirror-gitlab/lib/gitlab/background_migration/backfill_legacy_project_repositories.rb
2019-02-15 15:39:39 +05:30

16 lines
402 B
Ruby

# 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