Merge branch 'develop' of https://code.gab.com/gab/social/gab-social into feature/removing_ruby_junk

This commit is contained in:
mgabdev
2020-12-21 18:38:35 -05:00
4 changed files with 10 additions and 2 deletions

View File

@@ -2,6 +2,8 @@ class AddIndexToStatusesReply < ActiveRecord::Migration[5.2]
disable_ddl_transaction!
def change
add_index :statuses, :reply, algorithm: :concurrently
if !index_exists?(:statuses, :reply)
add_index :statuses, :reply, algorithm: :concurrently
end
end
end