OpenProject is the leading open source project management software.
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.
 
 
 
 
 
 
openproject/db/migrate/20091220184736_add_indexes_...

13 lines
364 B

class AddIndexesToIssueStatus < ActiveRecord::Migration
def self.up
add_index :issue_statuses, :position
add_index :issue_statuses, :is_closed
add_index :issue_statuses, :is_default
end
def self.down
remove_index :issue_statuses, :position
remove_index :issue_statuses, :is_closed
remove_index :issue_statuses, :is_default
end
end