debian-mirror-gitlab/app/models/issue_assignee.rb
2019-12-04 20:38:33 +05:30

8 lines
211 B
Ruby

# frozen_string_literal: true
class IssueAssignee < ApplicationRecord
belongs_to :issue
belongs_to :assignee, class_name: "User", foreign_key: :user_id
end
IssueAssignee.prepend_if_ee('EE::IssueAssignee')