forgeplus/app/models/pull_attached_issue.rb

24 lines
566 B
Ruby

# == Schema Information
#
# Table name: pull_attached_issues
#
# id :integer not null, primary key
# pull_request_id :integer
# issue_id :integer
# created_at :datetime not null
# updated_at :datetime not null
# fixed :boolean default("0")
#
# Indexes
#
# index_pull_attached_issues_on_issue_id (issue_id)
# index_pull_attached_issues_on_pull_request_id (pull_request_id)
#
class PullAttachedIssue < ApplicationRecord
belongs_to :pull_request
belongs_to :issue
end