debian-mirror-gitlab/app/models/import_failure.rb
2020-03-13 15:44:24 +05:30

9 lines
224 B
Ruby

# 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