Update annotations.

This commit is contained in:
Guo Xiang Tan 2017-10-06 11:13:01 +08:00
parent 3efde2618d
commit d67f0b39ae
6 changed files with 7 additions and 2 deletions

View File

@ -560,5 +560,5 @@ end
#
# index_categories_on_email_in (email_in) UNIQUE
# index_categories_on_topic_count (topic_count)
# unique_index_categories_on_name (name) UNIQUE
# unique_index_categories_on_name ((COALESCE(parent_category_id, '-1'::integer)), name) UNIQUE
#

View File

@ -15,6 +15,6 @@ end
#
# Indexes
#
# index_post_custom_fields_on_name_and_value (name)
# index_post_custom_fields_on_name_and_value (name, "left"(value, 200))
# index_post_custom_fields_on_post_id_and_name (post_id,name)
#

View File

@ -1336,6 +1336,7 @@ end
# index_topics_on_bumped_at (bumped_at)
# index_topics_on_created_at_and_visible (created_at,visible)
# index_topics_on_id_and_deleted_at (id,deleted_at)
# index_topics_on_lower_title (lower((title)::text))
# index_topics_on_pinned_at (pinned_at)
# index_topics_on_pinned_globally (pinned_globally)
#

View File

@ -170,6 +170,7 @@ end
#
# Indexes
#
# index_uploads_on_extension (lower((extension)::text))
# index_uploads_on_id_and_url (id,url)
# index_uploads_on_sha1 (sha1) UNIQUE
# index_uploads_on_url (url)

View File

@ -1124,6 +1124,7 @@ end
# name :string
# seen_notification_id :integer default(0), not null
# last_posted_at :datetime
# email :string(513)
# password_hash :string(64)
# salt :string(32)
# active :boolean default(FALSE), not null
@ -1157,6 +1158,7 @@ end
#
# idx_users_admin (id)
# idx_users_moderator (id)
# index_users_on_email (lower((email)::text)) UNIQUE
# index_users_on_last_posted_at (last_posted_at)
# index_users_on_last_seen_at (last_seen_at)
# index_users_on_uploaded_avatar_id (uploaded_avatar_id)

View File

@ -42,6 +42,7 @@ end
#
# Indexes
#
# index_user_emails_on_email (lower((email)::text)) UNIQUE
# index_user_emails_on_user_id (user_id)
# index_user_emails_on_user_id_and_primary (user_id,primary) UNIQUE
#