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 / a3 / a35bba481f5e59c6d65552a6a2e43c880a334e2e.svn-base @ 1297:0a574315af3e

History | View | Annotate | Download (208 Bytes)

1
class AddMissingIndexesToAuthSources < ActiveRecord::Migration
2
  def self.up
3
    add_index :auth_sources, [:id, :type]
4
  end
5

    
6
  def self.down
7
    remove_index :auth_sources, :column => [:id, :type]
8
  end
9
end