mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
PERF: Remove redundant post_timings_summary index (#14164)
It's redundant since post_timings_unique exists which has a superset of the columns with the same prefix.
This commit is contained in:
committed by
GitHub
parent
f66217c0b3
commit
d11f19f099
@@ -0,0 +1,7 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user