修改issues的问题

This commit is contained in:
sylor_huang@126.com
2020-05-25 16:20:34 +08:00
parent 0a5752b5ed
commit 259142c59b
5 changed files with 6 additions and 6 deletions

View File

@@ -26,7 +26,7 @@ class Project < ApplicationRecord
has_many :pull_requests, dependent: :destroy
has_many :issue_tags, dependent: :destroy
has_many :issues, dependent: :destroy
has_many :user_grades, dependent: :destroy
# has_many :user_grades, dependent: :destroy
has_many :attachments, as: :container, dependent: :destroy
has_one :project_score, dependent: :destroy
has_many :versions, -> { order("versions.effective_date DESC, versions.name DESC") }, dependent: :destroy