debian-mirror-gitlab/app/models/merge_request_reviewer.rb
2021-02-22 17:27:13 +05:30

6 lines
214 B
Ruby

# frozen_string_literal: true
class MergeRequestReviewer < ApplicationRecord
belongs_to :merge_request
belongs_to :reviewer, class_name: 'User', foreign_key: :user_id, inverse_of: :merge_request_reviewers
end