view db/migrate/.svn/text-base/20091017214308_add_missing_indexes_to_news.rb.svn-base @ 629:f9470a59e5da feature_36

Feature #241 - Added permissions to the Show Publication view.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Thu, 25 Aug 2011 14:57:08 +0100
parents 513646585e45
children
line wrap: on
line source
class AddMissingIndexesToNews < ActiveRecord::Migration
  def self.up
    add_index :news, :author_id
  end

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