view db/migrate/20091017212938_add_missing_indexes_to_repositories.rb @ 1169:492ff72268e3 bug_521

Close obsolete branch bug_521
author Chris Cannam
date Thu, 18 Oct 2012 10:42:48 +0100
parents 513646585e45
children
line wrap: on
line source
class AddMissingIndexesToRepositories < ActiveRecord::Migration
  def self.up
    add_index :repositories, :project_id
  end

  def self.down
    remove_index :repositories, :project_id
  end
end