mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-07-14 22:24:36 +08:00
Merge remote-tracking branch 'origin/standalone_develop' into standalone_develop
This commit is contained in:
@@ -19,4 +19,8 @@ class ProjectTopicRalate < ApplicationRecord
|
||||
belongs_to :project_topic, counter_cache: :projects_count
|
||||
belongs_to :project
|
||||
|
||||
|
||||
validates :project_id, uniqueness: { scope: :project_topic_id }
|
||||
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user