blob: 2497a1e6a2666f19e0a4389cb625b81006fc9f60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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
|