mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-07-14 14:04:32 +08:00
ADD issue、pull、milestone钩子,自动触发项目的更新时间
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
#
|
||||
|
||||
class Version < ApplicationRecord
|
||||
belongs_to :project, counter_cache: true
|
||||
belongs_to :project, counter_cache: true, touch: true
|
||||
has_many :issues, class_name: "Issue", foreign_key: "fixed_version_id"
|
||||
belongs_to :user, optional: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user