From a373e304b3d5957306115018175c7f8cd938be2c Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 26 Nov 2016 09:51:32 +0000 Subject: [PATCH] Adds an index on issue_id to changesets_issues (#24433). git-svn-id: http://svn.redmine.org/redmine/trunk@16007 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- ...20161126094932_add_index_on_changesets_issues_issue_id.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 db/migrate/20161126094932_add_index_on_changesets_issues_issue_id.rb diff --git a/db/migrate/20161126094932_add_index_on_changesets_issues_issue_id.rb b/db/migrate/20161126094932_add_index_on_changesets_issues_issue_id.rb new file mode 100644 index 000000000..dae77256c --- /dev/null +++ b/db/migrate/20161126094932_add_index_on_changesets_issues_issue_id.rb @@ -0,0 +1,5 @@ +class AddIndexOnChangesetsIssuesIssueId < ActiveRecord::Migration + def change + add_index :changesets_issues, :issue_id + end +end -- 2.39.5