##// END OF EJS Templates
Adds a missing index (speeds up changesets loading)....
Jean-Philippe Lang -
r3357:93bcc6801783
parent child
Show More
@@ -0,0 +1,9
1 class AddIndexOnChangesetsScmid < ActiveRecord::Migration
2 def self.up
3 add_index :changesets, [:repository_id, :scmid], :name => :changesets_repos_scmid
4 end
5
6 def self.down
7 remove_index :changesets, :name => :changesets_repos_scmid
8 end
9 end
General Comments 0
You need to be logged in to leave comments. Login now