Merge remote-tracking branch 'origin/standalone_develop' into standalone_develop

This commit is contained in:
xxq250 2025-06-21 08:33:30 +08:00
commit 8fffa5530c
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ class ProjectTrend < ApplicationRecord
CREATE = 'create'
MERGE = 'merge'
belongs_to :project
belongs_to :project, optional: true
belongs_to :trend, polymorphic: true, optional: true
belongs_to :user
end