21 lines
477 B
Ruby
21 lines
477 B
Ruby
# == Schema Information
|
|
#
|
|
# Table name: issue_assigners
|
|
#
|
|
# id :integer not null, primary key
|
|
# issue_id :integer
|
|
# assigner_id :integer
|
|
# created_at :datetime not null
|
|
# updated_at :datetime not null
|
|
#
|
|
# Indexes
|
|
#
|
|
# index_issue_assigners_on_assigner_id (assigner_id)
|
|
# index_issue_assigners_on_issue_id (issue_id)
|
|
#
|
|
|
|
class IssueAssigner < ApplicationRecord
|
|
belongs_to :issue
|
|
belongs_to :assigner, class_name: "User"
|
|
end
|