2018-11-30 16:03:29 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Gitlab
|
|
|
|
module BackgroundMigration
|
2018-12-18 21:02:36 +00:00
|
|
|
# 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
|
2018-11-30 16:03:29 +00:00
|
|
|
private
|
|
|
|
|
2018-12-18 21:02:36 +00:00
|
|
|
def projects
|
2018-12-06 22:46:14 +00:00
|
|
|
Project.on_hashed_storage
|
2018-11-30 16:03:29 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|