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

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

class Iterations::Cadence < ApplicationRecord
  self.table_name = 'iterations_cadences'

  belongs_to :group
  has_many :iterations, foreign_key: :iterations_cadence_id, inverse_of: :iterations_cadence

  validates :title, presence: true
  validates :start_date, presence: true
  validates :group_id, presence: true
  validates :active, presence: true
  validates :automatic, presence: true
end