To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / .svn / pristine / 2e / 2ebda56f87fd64effd7b76a628d13941e238c219.svn-base @ 1298:4f746d8966dd

History | View | Annotate | Download (267 Bytes)

1
class AddMissingIndexesToUsers < ActiveRecord::Migration
2
  def self.up
3
    add_index :users, [:id, :type]
4
    add_index :users, :auth_source_id
5
  end
6

    
7
  def self.down
8
    remove_index :users, :column => [:id, :type]
9
    remove_index :users, :auth_source_id
10
  end
11
end