summaryrefslogtreecommitdiff
path: root/app/models/trigger_request.rb
blob: 180c23f5963b99686dca6735520ee8da48982945 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# == Schema Information
#
# Table name: trigger_requests
#
#  id         :integer          not null, primary key
#  trigger_id :integer          not null
#  variables  :text
#  created_at :datetime
#  updated_at :datetime
#  commit_id  :integer
#

class TriggerRequest < ActiveRecord::Base
  belongs_to :trigger
  belongs_to :commit
  has_many :builds

  serialize :variables
end