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
|