DEV: annotate models

This commit is contained in:
Arpit Jalan 2020-07-22 16:02:31 +05:30
parent 6d39452317
commit db4e310376
3 changed files with 14 additions and 13 deletions

View File

@ -100,18 +100,18 @@ end
#
# Table name: bookmarks
#
# id :bigint not null, primary key
# user_id :bigint not null
# topic_id :bigint not null
# post_id :bigint not null
# name :string(100)
# reminder_type :integer
# reminder_at :datetime
# created_at :datetime not null
# updated_at :datetime not null
# reminder_last_sent_at :datetime
# reminder_set_at :datetime
# auto_delete_preference :integer
# id :bigint not null, primary key
# user_id :bigint not null
# topic_id :bigint not null
# post_id :bigint not null
# name :string(100)
# reminder_type :integer
# reminder_at :datetime
# created_at :datetime not null
# updated_at :datetime not null
# reminder_last_sent_at :datetime
# reminder_set_at :datetime
# auto_delete_preference :integer default(0), not null
#
# Indexes
#

View File

@ -19,7 +19,7 @@ end
#
# id :integer not null, primary key
# user_id :integer not null
# old_email :string not null
# old_email :string
# new_email :string not null
# old_email_token_id :integer
# new_email_token_id :integer

View File

@ -17,6 +17,7 @@ end
#
# 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)
# topic_custom_fields_value_key_idx (value,name) WHERE ((value IS NOT NULL) AND (char_length(value) < 400))
#