view .svn/pristine/6d/6d982d4ca633b1e9bc43d8a5712942f5d7214acb.svn-base @ 1227:eb168c1e9553 live

Show maximum of 10 colleagues
author Chris Cannam
date Tue, 12 Mar 2013 15:45:41 +0000
parents cbb26bc654de
children
line wrap: on
line source
class AddMissingIndexesToCustomFields < ActiveRecord::Migration
  def self.up
    add_index :custom_fields, [:id, :type]
  end

  def self.down
    remove_index :custom_fields, :column => [:id, :type]
  end
end