DEV: Add missing belongs_to to UserAction model (#26415)

This commit is contained in:
Martin Brennan 2024-03-28 16:13:18 +10:00 committed by GitHub
parent 0c875cb4d5
commit 1ab2fe0a81
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,6 +2,8 @@
class UserAction < ActiveRecord::Base
belongs_to :user
belongs_to :acting_user, class_name: "User"
belongs_to :target_user, class_name: "User"
belongs_to :target_post, class_name: "Post"
belongs_to :target_topic, class_name: "Topic"