mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
PERF: Add index on group to category_groups (#8231)
This commit is contained in:
committed by
David Taylor
parent
09a569aaba
commit
a7301c8671
@@ -0,0 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class AddIndexOnGroupToCategoryGroups < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
add_index :category_groups, :group_id
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user