From: Jean-Philippe Lang Date: Sat, 1 Oct 2016 12:23:01 +0000 (+0000) Subject: Add index to workflows.tracker_id (#23743). X-Git-Tag: 3.4.0~673 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=973c9484b091e7554f8cd78fdb3f640aa364f7ce;p=redmine.git Add index to workflows.tracker_id (#23743). git-svn-id: http://svn.redmine.org/redmine/trunk@15859 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/db/migrate/20161001122012_add_tracker_id_index_to_workflows.rb b/db/migrate/20161001122012_add_tracker_id_index_to_workflows.rb new file mode 100644 index 000000000..10c4dd97b --- /dev/null +++ b/db/migrate/20161001122012_add_tracker_id_index_to_workflows.rb @@ -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