view db/migrate/20091017214308_add_missing_indexes_to_news.rb @ 1542:60acfbd8f6d6 live

Use simpler saved committer list; ignore -e option (used for env)
author Chris Cannam
date Tue, 02 Jun 2015 12:25:31 +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