mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 14:03:39 +08:00
DEV: Add missing belongs_to to UserAction model (#26415)
This commit is contained in:
parent
0c875cb4d5
commit
1ab2fe0a81
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user