From dfe55d2344a689807da49d26c5c0a2993cb694a8 Mon Sep 17 00:00:00 2001 From: Sam Saffron Date: Tue, 12 May 2020 10:09:02 +1000 Subject: [PATCH] DEV: remove prefix .public was a cut-and-paste fail, removing --- db/migrate/20200429095034_add_topic_thumbnail_information.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/migrate/20200429095034_add_topic_thumbnail_information.rb b/db/migrate/20200429095034_add_topic_thumbnail_information.rb index 2902d7730d9..6275f29fef5 100644 --- a/db/migrate/20200429095034_add_topic_thumbnail_information.rb +++ b/db/migrate/20200429095034_add_topic_thumbnail_information.rb @@ -18,12 +18,12 @@ class AddTopicThumbnailInformation < ActiveRecord::Migration[6.0] execute <<~SQL CREATE INDEX CONCURRENTLY IF NOT EXISTS - index_posts_on_image_upload_id ON posts USING btree (image_upload_id); + index_posts_on_image_upload_id ON posts USING btree (image_upload_id) SQL execute <<~SQL CREATE INDEX CONCURRENTLY IF NOT EXISTS - index_topics_on_image_upload_id ON public.topics USING btree (image_upload_id); + index_topics_on_image_upload_id ON topics USING btree (image_upload_id) SQL ActiveRecord::Base.transaction do