view .svn/pristine/1e/1e1c56f7bb0dfd476519c5d677856963c19b1ee5.svn-base @ 1192:3c9ca27c2d3d feature_564

Add approximate back-of-envelope calculation of project maturity
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Tue, 22 Jan 2013 16:51:56 +0000
parents cbb26bc654de
children
line wrap: on
line source
class AddMissingIndexesToWikiPages < ActiveRecord::Migration
  def self.up
    add_index :wiki_pages, :wiki_id
    add_index :wiki_pages, :parent_id
  end

  def self.down
    remove_index :wiki_pages, :wiki_id
    remove_index :wiki_pages, :parent_id
  end
end