2017-06-21 05:25:01 -04:00
|
|
|
module Ci
|
|
|
|
class PipelineScheduleVariable < ActiveRecord::Base
|
2017-09-06 07:13:52 -04:00
|
|
|
extend Gitlab::Ci::Model
|
2017-06-21 05:25:01 -04:00
|
|
|
include HasVariable
|
|
|
|
|
|
|
|
belongs_to :pipeline_schedule
|
2017-08-17 12:43:17 -04:00
|
|
|
|
|
|
|
validates :key, uniqueness: { scope: :pipeline_schedule_id }
|
2017-06-21 05:25:01 -04:00
|
|
|
end
|
|
|
|
end
|