discourse/db/migrate/20210824203421_remove_post_timings_summary_index.rb
2023-01-09 11:59:41 +00:00

11 lines
283 B
Ruby

# frozen_string_literal: true
class RemovePostTimingsSummaryIndex < ActiveRecord::Migration[6.1]
def change
remove_index :post_timings,
column: %i[topic_id post_number],
name: :post_timings_summary,
if_exists: true
end
end