view .svn/pristine/2e/2ebda56f87fd64effd7b76a628d13941e238c219.svn-base @ 1479:2d7e82037daa bibplugin_cache

Close obsolete branch bibplugin_cache
author Chris Cannam
date Thu, 22 Nov 2012 15:09:58 +0000
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