diff --git a/db/migrate/20200820232017_drop_idx_regular_post_search_data.rb b/db/migrate/20200820232017_drop_idx_regular_post_search_data.rb index c61920c6a7c..a7e0dfff8c0 100644 --- a/db/migrate/20200820232017_drop_idx_regular_post_search_data.rb +++ b/db/migrate/20200820232017_drop_idx_regular_post_search_data.rb @@ -1,4 +1,8 @@ +# frozen_string_literal: true + class DropIdxRegularPostSearchData < ActiveRecord::Migration[6.0] + disable_ddl_transaction! + def up execute <<~SQL DROP INDEX CONCURRENTLY IF EXISTS idx_regular_post_search_data