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

lfs_object.rb « fdw « geo « models « app « ee - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 18aae28518d925dd930dae2d1faf08adb9dc31ce (plain)
1
2
3
4
5
6
7
8
9
module Geo
  module Fdw
    class LfsObject < ::Geo::BaseFdw
      self.table_name = Gitlab::Geo.fdw_table('lfs_objects')

      scope :with_files_stored_locally, -> { where(file_store: [nil, LfsObjectUploader::Store::LOCAL]) }
    end
  end
end