view .svn/pristine/95/95b8abf44c3c03e38cc65d6bbe29d78a6f95443c.svn-base @ 938:598d53decdd8

#488 Show matching projects in search results first, even if there are many
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Wed, 11 Jul 2012 14:05:56 +0100
parents cbb26bc654de
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