mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 02:40:53 -06:00
DEV: annotate models
This commit is contained in:
parent
6d39452317
commit
db4e310376
@ -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
|
||||
#
|
||||
|
@ -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
|
||||
|
@ -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))
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user