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

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

class ImportFailure < ApplicationRecord
  belongs_to :project
  belongs_to :group

  validates :project, presence: true, unless: :group
  validates :group, presence: true, unless: :project
end