A platform for community discussion. Free, open, simple.
DEV: Update annotations
David Taylor1bff81419e47
diff --git a/app/models/email_log.rb b/app/models/email_log.rbindex 26bc096ca10..bc7df7ae2a5 100644--- a/app/models/email_log.rb+++ b/app/models/email_log.rb@@ -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)diff --git a/app/models/post_custom_field.rb b/app/models/post_custom_field.rbindex 44b3cc4baf6..1f909c33413 100644--- a/app/models/post_custom_field.rb+++ b/app/models/post_custom_field.rb@@ -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)diff --git a/app/models/reviewable_claimed_topic.rb b/app/models/reviewable_claimed_topic.rbindex d291b6cd457..216aa6543c1 100644--- a/app/models/reviewable_claimed_topic.rb+++ b/app/models/reviewable_claimed_topic.rb@@ -14,3 +14,18 @@ class ReviewableClaimedTopic < ActiveRecord::Baseresultendend++# == 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+#