diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-12-20 09:12:52 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-12-20 09:12:52 +0000 |
commit | 3d1f72bc509e2fc8fc55e0ece3c3e230910d07c4 (patch) | |
tree | b3d23f041afa1f62fedcb14f30e7f94fc0e7428c /db | |
parent | a2d1d6844a18492a2dd47d8622f80ce57b3e3182 (diff) | |
download | redmine-3d1f72bc509e2fc8fc55e0ece3c3e230910d07c4.tar.gz redmine-3d1f72bc509e2fc8fc55e0ece3c3e230910d07c4.zip |
Adds an index on issues parent_id (#23987).
git-svn-id: http://svn.redmine.org/redmine/trunk@16103 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20161220091118_add_index_on_issues_parent_id.rb | 5 |
1 files changed, 5 insertions, 0 deletions
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 |