@@ -1,9 +1,9 | |||
|
1 | 1 | class AddRoleTrackerOldStatusIndexToWorkflows < ActiveRecord::Migration |
|
2 | 2 | def self.up |
|
3 |
add_index :workflows, [:role_id, :tracker_id, :old_status_id], :name => :w |
|
|
3 | add_index :workflows, [:role_id, :tracker_id, :old_status_id], :name => :wkfs_role_tracker_old_status | |
|
4 | 4 | end |
|
5 | 5 | |
|
6 | 6 | def self.down |
|
7 |
remove_index |
|
|
7 | remove_index(:workflows, :name => :wkfs_role_tracker_old_status); rescue | |
|
8 | 8 | end |
|
9 | 9 | end |
General Comments 0
You need to be logged in to leave comments.
Login now