mirror of
https://github.com/discourse/discourse.git
synced 2025-06-03 15:24:33 +08:00
DEV: Add missing belongs_to to UserAction model (#26415)
This commit is contained in:
@ -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"
|
||||
|
||||
|
Reference in New Issue
Block a user