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 / 55 / 55040264ab1fb96f5b89077fc2888dd62ac982e6.svn-base @ 1297:0a574315af3e

History | View | Annotate | Download (209 Bytes)

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

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