# == Schema Information
#
# Table name: pull_requests_reviewers
#
#  id              :integer          not null, primary key
#  pull_request_id :integer
#  reviewer_id     :integer
#  created_at      :datetime         not null
#  updated_at      :datetime         not null
#
# Indexes
#
#  index_pull_requests_reviewers_on_pull_request_id  (pull_request_id)
#  index_pull_requests_reviewers_on_reviewer_id      (reviewer_id)
#

class PullRequestsReviewer < ApplicationRecord

  belongs_to :pull_request 
  belongs_to :reviewers, class_name: 'User', foreign_key: :reviewer_id
end
