summaryrefslogtreecommitdiff
path: root/app/models/import_failure.rb
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