kopia lustrzana
https://github.com/redmine/redmine.git
synced 2024-08-26 17:58:38 +02:00
14 wiersze
364 B
Ruby
14 wiersze
364 B
Ruby
![]() |
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
|