03b6108f6f
They were Rails' default and are unnecessarily overridden. Signed-off-by: David Wagner <david@marvid.fr>
10 lines
228 B
Ruby
10 lines
228 B
Ruby
module Ci
|
|
class RunnerProject < ActiveRecord::Base
|
|
extend Ci::Model
|
|
|
|
belongs_to :runner
|
|
belongs_to :project, foreign_key: :gl_project_id
|
|
|
|
validates_uniqueness_of :runner_id, scope: :gl_project_id
|
|
end
|
|
end
|