##// END OF EJS Templates
Added an index on custom_values table (customized_type + customized_id columns) to speed up issue queries that use custom field filters....
Jean-Philippe Lang -
r691:17a3f9e44c15
parent child
Show More
@@ -0,0 +1,9
1 class AddCustomValueCustomizedIndex < ActiveRecord::Migration
2 def self.up
3 add_index :custom_values, [:customized_type, :customized_id], :name => :custom_values_customized
4 end
5
6 def self.down
7 remove_index :custom_values, :name => :custom_values_customized
8 end
9 end
General Comments 0
You need to be logged in to leave comments. Login now