2017-06-21 09:25:01 +00:00
|
|
|
module Ci
|
|
|
|
class PipelineScheduleVariable < ActiveRecord::Base
|
|
|
|
extend Ci::Model
|
|
|
|
include HasVariable
|
|
|
|
|
|
|
|
belongs_to :pipeline_schedule
|
2017-08-17 16:43:17 +00:00
|
|
|
|
|
|
|
validates :key, uniqueness: { scope: :pipeline_schedule_id }
|
2017-06-21 09:25:01 +00:00
|
|
|
end
|
|
|
|
end
|