BigW Consortium Gitlab

runner_project.rb 194 Bytes
Newer Older
1 2 3
module Ci
  class RunnerProject < ActiveRecord::Base
    extend Ci::Model
4

5
    belongs_to :runner
6
    belongs_to :project
7

8
    validates :runner_id, uniqueness: { scope: :project_id }
9 10
  end
end