view db/migrate/20100221100219_add_index_on_changesets_scmid.rb @ 115:3e75f003034a luisf

Bug #60: + the "jump to project" input box is now below the search box + the project ancestors are displayed in a separate line
author luisf
date Wed, 12 Jan 2011 17:06:18 +0000
parents 513646585e45
children
line wrap: on
line source
class AddIndexOnChangesetsScmid < ActiveRecord::Migration
  def self.up
    add_index :changesets, [:repository_id, :scmid], :name => :changesets_repos_scmid
  end

  def self.down
    remove_index :changesets, :name => :changesets_repos_scmid
  end
end