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

exported_protected_branch.rb « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6e8abbc238907cecf8dcf2036f0b787b16a3045c (plain)
1
2
3
4
5
# frozen_string_literal: true

class ExportedProtectedBranch < ProtectedBranch
  has_many :push_access_levels, -> { where(deploy_key_id: nil) }, class_name: "ProtectedBranch::PushAccessLevel", foreign_key: :protected_branch_id
end