12 lines
243 B
Ruby
12 lines
243 B
Ruby
|
class DropIdxRegularPostSearchData < ActiveRecord::Migration[6.0]
|
||
|
def up
|
||
|
execute <<~SQL
|
||
|
DROP INDEX CONCURRENTLY IF EXISTS idx_regular_post_search_data
|
||
|
SQL
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
raise ActiveRecord::IrreversibleMigration
|
||
|
end
|
||
|
end
|