Add index to workflows.tracker_id (#23743).

git-svn-id: http://svn.redmine.org/redmine/trunk@15859 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2016-10-01 12:23:01 +00:00
parent 8175afd58d
commit 973c9484b0

View File

@@ -0,0 +1,9 @@
class AddTrackerIdIndexToWorkflows < ActiveRecord::Migration
def self.up
add_index :workflows, :tracker_id
end
def self.down
remove_index :workflows, :tracker_id
end
end