You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

085_add_role_tracker_old_status_index_to_workflows.rb 307B

123456789
  1. class AddRoleTrackerOldStatusIndexToWorkflows < ActiveRecord::Migration[4.2]
  2. def self.up
  3. add_index :workflows, [:role_id, :tracker_id, :old_status_id], :name => :wkfs_role_tracker_old_status
  4. end
  5. def self.down
  6. remove_index(:workflows, :name => :wkfs_role_tracker_old_status); rescue
  7. end
  8. end