20091017214308_add_missing_indexes_to_news.rb 170 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
class AddMissingIndexesToNews < ActiveRecord::Migration
  def self.up
    add_index :news, :author_id
  end

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