diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-10-01 12:23:01 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-10-01 12:23:01 +0000 |
commit | 973c9484b091e7554f8cd78fdb3f640aa364f7ce (patch) | |
tree | 7569f1f2b16ce5021dca25a0fd5b355bf72365c6 /db | |
parent | 8175afd58d928c24ee7831f813b9556910a89bd9 (diff) | |
download | redmine-973c9484b091e7554f8cd78fdb3f640aa364f7ce.tar.gz redmine-973c9484b091e7554f8cd78fdb3f640aa364f7ce.zip |
Add index to workflows.tracker_id (#23743).
git-svn-id: http://svn.redmine.org/redmine/trunk@15859 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20161001122012_add_tracker_id_index_to_workflows.rb | 9 |
1 files changed, 9 insertions, 0 deletions
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 |