discourse/db/migrate/20210824203421_remove_post_timings_summary_index.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
283 B
Ruby
Raw Normal View History

# 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