DEV: Update annotations

This commit is contained in:
David Taylor 2019-05-13 15:24:24 +01:00
parent 3912d6f806
commit 1bff81419e
3 changed files with 17 additions and 0 deletions

View File

@ -91,6 +91,7 @@ end
#
# Indexes
#
# index_email_logs_on_bounce_key (bounce_key) UNIQUE WHERE (bounce_key IS NOT NULL)
# index_email_logs_on_bounced (bounced)
# index_email_logs_on_created_at (created_at)
# index_email_logs_on_message_id (message_id)

View File

@ -23,6 +23,7 @@ end
# index_post_custom_fields_on_notice_type (post_id) UNIQUE WHERE ((name)::text = 'notice_type'::text)
# index_post_custom_fields_on_post_id (post_id) UNIQUE WHERE ((name)::text = 'missing uploads'::text)
# index_post_custom_fields_on_post_id_and_name (post_id,name)
# index_post_id_where_missing_uploads_ignored (post_id) UNIQUE WHERE ((name)::text = 'missing uploads ignored'::text)
# post_custom_field_broken_images_idx (post_id) UNIQUE WHERE ((name)::text = 'broken_images'::text)
# post_custom_field_downloaded_images_idx (post_id) UNIQUE WHERE ((name)::text = 'downloaded_images'::text)
# post_custom_field_large_images_idx (post_id) UNIQUE WHERE ((name)::text = 'large_images'::text)

View File

@ -14,3 +14,18 @@ class ReviewableClaimedTopic < ActiveRecord::Base
result
end
end
# == Schema Information
#
# Table name: reviewable_claimed_topics
#
# id :bigint not null, primary key
# user_id :integer not null
# topic_id :integer not null
# created_at :datetime not null
# updated_at :datetime not null
#
# Indexes
#
# index_reviewable_claimed_topics_on_topic_id (topic_id) UNIQUE
#