Welcome to mirror list, hosted at ThFree Co, Russian Federation.

pipeline_schedule_variable.rb « ci « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ee5b8733facee7906a378ad6add9b5d172e7704c (plain)
1
2
3
4
5
6
7
8
9
10
module Ci
  class PipelineScheduleVariable < ActiveRecord::Base
    extend Ci::Model
    include HasVariable

    belongs_to :pipeline_schedule

    validates :key, uniqueness: { scope: :pipeline_schedule_id }
  end
end