mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 11:20:57 -06:00
f4a0d200ee
Follow-up to 87de8948c0
16 lines
302 B
Ruby
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
|