PERF: Add index on group to category_groups (#8231)

This commit is contained in:
Dan Ungureanu
2019-10-23 12:30:43 +03:00
committed by David Taylor
parent 09a569aaba
commit a7301c8671
2 changed files with 11 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
# frozen_string_literal: true
class AddIndexOnGroupToCategoryGroups < ActiveRecord::Migration[6.0]
def change
add_index :category_groups, :group_id
end
end