mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 19:57:18 +08:00
Annotate models
This commit is contained in:
@ -334,12 +334,12 @@ end
|
||||
# target_post_id :integer
|
||||
# target_user_id :integer
|
||||
# acting_user_id :integer
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# created_at :datetime
|
||||
# updated_at :datetime
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# idx_unique_rows (action_type,user_id,target_topic_id,target_post_id,acting_user_id) UNIQUE
|
||||
# index_actions_on_acting_user_id (acting_user_id)
|
||||
# index_actions_on_user_id_and_action_type (user_id,action_type)
|
||||
# idx_unique_rows (action_type,user_id,target_topic_id,target_post_id,acting_user_id) UNIQUE
|
||||
# index_user_actions_on_acting_user_id (acting_user_id)
|
||||
# index_user_actions_on_user_id_and_action_type (user_id,action_type)
|
||||
#
|
||||
|
Reference in New Issue
Block a user