BigW Consortium Gitlab

pipeline_variable.rb 194 Bytes
Newer Older
Shinya Maeda committed
1 2 3 4 5 6 7 8 9 10
module Ci
  class PipelineVariable < ActiveRecord::Base
    extend Ci::Model
    include HasVariable

    belongs_to :pipeline

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