gitlab-org--gitlab-foss/app/models/ci/runner_namespace.rb
2018-05-02 17:43:20 +02:00

9 lines
244 B
Ruby

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