redmine/db/migrate/20161220091118_add_index_on_issues_parent_id.rb
Jean-Philippe Lang 3d1f72bc50 Adds an index on issues parent_id (#23987).
git-svn-id: http://svn.redmine.org/redmine/trunk@16103 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-20 09:12:52 +00:00

6 lines
114 B
Ruby

class AddIndexOnIssuesParentId < ActiveRecord::Migration
def change
add_index :issues, :parent_id
end
end