summaryrefslogtreecommitdiffstats
path: root/db/migrate/20091017214440_add_missing_indexes_to_wiki_contents.rb
blob: 454e4c5d0e4c97bb344ea7d24f43c19bad36ae7a (plain)
1
2
3
4
5
6
7
8
9
class AddMissingIndexesToWikiContents < ActiveRecord::Migration
  def self.up
    add_index :wiki_contents, :author_id
  end

  def self.down
    remove_index :wiki_contents, :author_id
  end
end