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.

20091220184736_add_indexes_to_issue_status.rb 369B

12345678910111213
  1. class AddIndexesToIssueStatus < ActiveRecord::Migration[4.2]
  2. def self.up
  3. add_index :issue_statuses, :position
  4. add_index :issue_statuses, :is_closed
  5. add_index :issue_statuses, :is_default
  6. end
  7. def self.down
  8. remove_index :issue_statuses, :position
  9. remove_index :issue_statuses, :is_closed
  10. remove_index :issue_statuses, :is_default
  11. end
  12. end