view .svn/pristine/2e/2ebda56f87fd64effd7b76a628d13941e238c219.svn-base @ 963:a9f1192c9c79 cannam

Merge from 958:352539ac7b43
author Chris Cannam
date Tue, 16 Oct 2012 16:29:01 +0100
parents cbb26bc654de
children
line wrap: on
line source
class AddMissingIndexesToUsers < ActiveRecord::Migration
  def self.up
    add_index :users, [:id, :type]
    add_index :users, :auth_source_id
  end

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