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

pipeline_config.rb « ci « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e2dcad653d73a4a711aeae138b84bb6a6f7debbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

module Ci
  class PipelineConfig < Ci::ApplicationRecord
    self.table_name = 'ci_pipelines_config'
    self.primary_key = :pipeline_id

    belongs_to :pipeline, class_name: "Ci::Pipeline", inverse_of: :pipeline_config
    validates :pipeline, presence: true
    validates :content, presence: true
  end
end