blob: 505d178ba8ebae0d9625f67af6112f354a6978d0 (
plain)
1
2
3
4
5
6
7
8
9
10
|
module Ci
class RunnerProject < ActiveRecord::Base
extend Gitlab::Ci::Model
belongs_to :runner
belongs_to :project
validates :runner_id, uniqueness: { scope: :project_id }
end
end
|