????
Current Path : C:/inetpub/vhost/redmine/db/migrate/ |
Current File : C:/inetpub/vhost/redmine/db/migrate/20091017213151_add_missing_indexes_to_wiki_pages.rb |
class AddMissingIndexesToWikiPages < ActiveRecord::Migration[4.2] 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