From 3d1f72bc509e2fc8fc55e0ece3c3e230910d07c4 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 20 Dec 2016 09:12:52 +0000 Subject: [PATCH] Adds an index on issues parent_id (#23987). git-svn-id: http://svn.redmine.org/redmine/trunk@16103 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- db/migrate/20161220091118_add_index_on_issues_parent_id.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 db/migrate/20161220091118_add_index_on_issues_parent_id.rb 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 -- 2.39.5