mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
annotate
This commit is contained in:
parent
e9a1af0113
commit
e907cca62e
3 changed files with 21 additions and 16 deletions
|
@ -594,6 +594,7 @@ end
|
||||||
# baked_version :integer
|
# baked_version :integer
|
||||||
# hidden_at :datetime
|
# hidden_at :datetime
|
||||||
# self_edits :integer default(0), not null
|
# self_edits :integer default(0), not null
|
||||||
|
# reply_quoted :boolean default(FALSE), not null
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
|
|
@ -424,20 +424,21 @@ end
|
||||||
# user_id :integer not null
|
# user_id :integer not null
|
||||||
# post_action_type_id :integer not null
|
# post_action_type_id :integer not null
|
||||||
# deleted_at :datetime
|
# deleted_at :datetime
|
||||||
# created_at :datetime not null
|
# created_at :datetime
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime
|
||||||
# deleted_by_id :integer
|
# deleted_by_id :integer
|
||||||
# message :text
|
|
||||||
# related_post_id :integer
|
# related_post_id :integer
|
||||||
# staff_took_action :boolean default(FALSE), not null
|
# staff_took_action :boolean default(FALSE), not null
|
||||||
# defered_at :datetime
|
# defered_by_id :integer
|
||||||
# defer_by_id :integer
|
|
||||||
# targets_topic :boolean default(FALSE)
|
# targets_topic :boolean default(FALSE)
|
||||||
# agreed_at :datetime
|
# agreed_at :datetime
|
||||||
# agreed_by_id :integer
|
# agreed_by_id :integer
|
||||||
|
# defered_at :datetime
|
||||||
|
# disagreed_at :datetime
|
||||||
|
# disagreed_by_id :integer
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
# idx_unique_actions (user_id,post_action_type_id,post_id,deleted_at) UNIQUE
|
# idx_unique_actions (user_id,post_action_type_id,post_id,deleted_at,targets_topic) UNIQUE
|
||||||
# index_post_actions_on_post_id (post_id)
|
# index_post_actions_on_post_id (post_id)
|
||||||
#
|
#
|
||||||
|
|
|
@ -91,14 +91,17 @@ end
|
||||||
#
|
#
|
||||||
# Table name: user_stats
|
# Table name: user_stats
|
||||||
#
|
#
|
||||||
# user_id :integer not null, primary key
|
# user_id :integer not null, primary key
|
||||||
# topics_entered :integer default(0), not null
|
# topics_entered :integer default(0), not null
|
||||||
# time_read :integer default(0), not null
|
# time_read :integer default(0), not null
|
||||||
# days_visited :integer default(0), not null
|
# days_visited :integer default(0), not null
|
||||||
# posts_read_count :integer default(0), not null
|
# posts_read_count :integer default(0), not null
|
||||||
# likes_given :integer default(0), not null
|
# likes_given :integer default(0), not null
|
||||||
# likes_received :integer default(0), not null
|
# likes_received :integer default(0), not null
|
||||||
# topic_reply_count :integer default(0), not null
|
# topic_reply_count :integer default(0), not null
|
||||||
# new_since :datetime not null
|
# new_since :datetime not null
|
||||||
# read_faq :datetime
|
# read_faq :datetime
|
||||||
|
# first_post_created_at :datetime
|
||||||
|
# post_count :integer default(0), not null
|
||||||
|
# topic_count :integer default(0), not null
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue