mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
DEV: annotate models
This commit is contained in:
@ -100,18 +100,18 @@ end
|
|||||||
#
|
#
|
||||||
# Table name: bookmarks
|
# Table name: bookmarks
|
||||||
#
|
#
|
||||||
# id :bigint not null, primary key
|
# id :bigint not null, primary key
|
||||||
# user_id :bigint not null
|
# user_id :bigint not null
|
||||||
# topic_id :bigint not null
|
# topic_id :bigint not null
|
||||||
# post_id :bigint not null
|
# post_id :bigint not null
|
||||||
# name :string(100)
|
# name :string(100)
|
||||||
# reminder_type :integer
|
# reminder_type :integer
|
||||||
# reminder_at :datetime
|
# reminder_at :datetime
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# 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