gitlab-org--gitlab-foss/app/models/import_failure.rb

10 lines
224 B
Ruby
Raw Normal View History

# 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