add the fotten changes to issue model

This commit is contained in:
starlee 2021-11-18 10:57:13 +08:00
parent 69f8790d2b
commit 5337631013
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ class Issue < ApplicationRecord
# has_many :memos
has_many :journals, :as => :journalized, :dependent => :destroy
has_many :journal_details, through: :journals
has_many :claims, :dependent => :destroy
has_many :issue_tags_relates, dependent: :destroy
has_many :issue_tags, through: :issue_tags_relates
has_many :issue_times, dependent: :destroy