discourse/db/migrate/20200820232017_drop_idx_reg...

16 lines
302 B
Ruby

# 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
SQL
end
def down
raise ActiveRecord::IrreversibleMigration
end
end