DEV: remove prefix

.public was a cut-and-paste fail, removing
This commit is contained in:
Sam Saffron 2020-05-12 10:09:02 +10:00
parent f4a53bd8f0
commit dfe55d2344
No known key found for this signature in database
GPG Key ID: B9606168D2FFD9F5
1 changed files with 2 additions and 2 deletions

View File

@ -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