diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-31 03:10:37 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-31 03:10:37 +0300 |
commit | 184906087ff42c9a6743a1c8c7e79bf30855ec22 (patch) | |
tree | ccf44ca3268ed90c3270f63764fb1749c0827640 /app/models/merge_request_reviewer.rb | |
parent | 7eb24db111276a7fb7a1eac401b7f766ba08317d (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/merge_request_reviewer.rb')
-rw-r--r-- | app/models/merge_request_reviewer.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/models/merge_request_reviewer.rb b/app/models/merge_request_reviewer.rb new file mode 100644 index 00000000000..1cb49c0cd76 --- /dev/null +++ b/app/models/merge_request_reviewer.rb @@ -0,0 +1,6 @@ +# 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_assignees +end |