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.

20091017212227_add_missing_indexes_to_workflows.rb 356B

12345678910111213
  1. class AddMissingIndexesToWorkflows < ActiveRecord::Migration[4.2]
  2. def self.up
  3. add_index :workflows, :old_status_id
  4. add_index :workflows, :role_id
  5. add_index :workflows, :new_status_id
  6. end
  7. def self.down
  8. remove_index :workflows, :old_status_id
  9. remove_index :workflows, :role_id
  10. remove_index :workflows, :new_status_id
  11. end
  12. end