summaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-11-26 09:51:32 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-11-26 09:51:32 +0000
commita373e304b3d5957306115018175c7f8cd938be2c (patch)
tree7712cd25109ddcf2962f85151dd7decefa95cdc3 /db
parent508fc4f454c3d3d2403efd7b666c83871268fe35 (diff)
downloadredmine-a373e304b3d5957306115018175c7f8cd938be2c.tar.gz
redmine-a373e304b3d5957306115018175c7f8cd938be2c.zip
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
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20161126094932_add_index_on_changesets_issues_issue_id.rb5
1 files changed, 5 insertions, 0 deletions
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