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

16 lines
390 B
Ruby

# frozen_string_literal: true
module Gitlab
module BackgroundMigration
# Class that will fill the project_repositories table for projects that
# are on hashed storage and an entry is is missing in this table.
class BackfillHashedProjectRepositories < BackfillProjectRepositories
private
def projects
Project.on_hashed_storage
end
end
end
end