To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / .svn / pristine / db / dbb1cd10e4a0f1e628733be53e77306d7e9d3f4a.svn-base @ 1297:0a574315af3e

History | View | Annotate | Download (254 Bytes)

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