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 / 48 / 487477c9cff9e9a9069caec577d2d37b4dc2bf28.svn-base @ 1298:4f746d8966dd

History | View | Annotate | Download (302 Bytes)

1
class AddRoleTrackerOldStatusIndexToWorkflows < ActiveRecord::Migration
2
  def self.up
3
    add_index :workflows, [:role_id, :tracker_id, :old_status_id], :name => :wkfs_role_tracker_old_status
4
  end
5

    
6
  def self.down
7
    remove_index(:workflows, :name => :wkfs_role_tracker_old_status); rescue
8
  end
9
end