debian-mirror-gitlab/app/models/ci/runner_namespace.rb

10 lines
244 B
Ruby
Raw Normal View History

2018-10-15 14:42:47 +05:30
module Ci
class RunnerNamespace < ActiveRecord::Base
extend Gitlab::Ci::Model
belongs_to :runner
belongs_to :namespace, class_name: '::Namespace'
belongs_to :group, class_name: '::Group', foreign_key: :namespace_id
end
end