gitlab-org--gitlab-foss/app/models/note_diff_file.rb
2018-07-26 16:55:41 -07:00

9 lines
188 B
Ruby

# frozen_string_literal: true
class NoteDiffFile < ActiveRecord::Base
include DiffFile
belongs_to :diff_note, inverse_of: :note_diff_file
validates :diff_note, presence: true
end