mirror of
https://github.com/discourse/discourse.git
synced 2025-02-19 05:52:46 +08:00

It's redundant since post_timings_unique exists which has a superset of the columns with the same prefix.
8 lines
233 B
Ruby
8 lines
233 B
Ruby
# frozen_string_literal: true
|
|
|
|
class RemovePostTimingsSummaryIndex < ActiveRecord::Migration[6.1]
|
|
def change
|
|
remove_index :post_timings, column: [:topic_id, :post_number], name: :post_timings_summary, if_exists: true
|
|
end
|
|
end
|