debian-mirror-gitlab/app/models/import_failure.rb
2020-03-09 13:42:32 +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