debian-mirror-gitlab/app/models/ci/trigger_request.rb
2016-06-02 11:05:42 +05:30

11 lines
262 B
Ruby

module Ci
class TriggerRequest < ActiveRecord::Base
extend Ci::Model
belongs_to :trigger, class_name: 'Ci::Trigger'
belongs_to :commit, class_name: 'Ci::Commit'
has_many :builds, class_name: 'Ci::Build'
serialize :variables
end
end