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

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