gitlab-org--gitlab-foss/app/models/ci/trigger_request.rb
2016-06-09 17:57:07 +02:00

11 lines
291 B
Ruby

module Ci
class TriggerRequest < ActiveRecord::Base
extend Ci::Model
belongs_to :trigger, class_name: 'Ci::Trigger'
belongs_to :pipeline, class_name: 'Ci::Pipeline', foreign_key: :commit_id
has_many :builds, class_name: 'Ci::Build'
serialize :variables
end
end