DEV: Drop search index on non-pm posts take 2.

Follow-up to 87de8948c0
This commit is contained in:
Guo Xiang Tan 2020-08-21 07:27:28 +08:00
parent 87de8948c0
commit f4a0d200ee
No known key found for this signature in database
GPG Key ID: FBD110179AAC1F20
1 changed files with 4 additions and 0 deletions

View File

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