From: Jean-Philippe Lang Date: Tue, 20 Dec 2016 09:12:52 +0000 (+0000) Subject: Adds an index on issues parent_id (#23987). X-Git-Tag: 3.4.0~481 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3d1f72bc509e2fc8fc55e0ece3c3e230910d07c4;p=redmine.git Adds an index on issues parent_id (#23987). git-svn-id: http://svn.redmine.org/redmine/trunk@16103 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/db/migrate/20161220091118_add_index_on_issues_parent_id.rb b/db/migrate/20161220091118_add_index_on_issues_parent_id.rb new file mode 100644 index 000000000..1cc94b098 --- /dev/null +++ b/db/migrate/20161220091118_add_index_on_issues_parent_id.rb @@ -0,0 +1,5 @@ +class AddIndexOnIssuesParentId < ActiveRecord::Migration + def change + add_index :issues, :parent_id + end +end