mirror of
https://github.com/gitlabhq/gitlabhq.git
synced 2025-07-21 23:37:47 +00:00
13 lines
281 B
Ruby
13 lines
281 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Ci
|
|
class PipelineScheduleVariable < Ci::ApplicationRecord
|
|
include Ci::HasVariable
|
|
include Ci::RawVariable
|
|
|
|
belongs_to :pipeline_schedule
|
|
|
|
validates :key, presence: true, uniqueness: { scope: :pipeline_schedule_id }
|
|
end
|
|
end
|