mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 15:08:21 +08:00
DEV: annotate models
This commit is contained in:
@ -111,7 +111,7 @@ end
|
|||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
# reminder_last_sent_at :datetime
|
# reminder_last_sent_at :datetime
|
||||||
# reminder_set_at :datetime
|
# reminder_set_at :datetime
|
||||||
# auto_delete_preference :integer
|
# auto_delete_preference :integer default(0), not null
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
@ -19,7 +19,7 @@ end
|
|||||||
#
|
#
|
||||||
# id :integer not null, primary key
|
# id :integer not null, primary key
|
||||||
# user_id :integer not null
|
# user_id :integer not null
|
||||||
# old_email :string not null
|
# old_email :string
|
||||||
# new_email :string not null
|
# new_email :string not null
|
||||||
# old_email_token_id :integer
|
# old_email_token_id :integer
|
||||||
# new_email_token_id :integer
|
# new_email_token_id :integer
|
||||||
|
@ -17,6 +17,7 @@ end
|
|||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
# idx_topic_custom_fields_accepted_answer (topic_id) UNIQUE WHERE ((name)::text = 'accepted_answer_post_id'::text)
|
||||||
# index_topic_custom_fields_on_topic_id_and_name (topic_id,name)
|
# index_topic_custom_fields_on_topic_id_and_name (topic_id,name)
|
||||||
# topic_custom_fields_value_key_idx (value,name) WHERE ((value IS NOT NULL) AND (char_length(value) < 400))
|
# topic_custom_fields_value_key_idx (value,name) WHERE ((value IS NOT NULL) AND (char_length(value) < 400))
|
||||||
#
|
#
|
||||||
|
Reference in New Issue
Block a user