To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / .svn / pristine / 49 / 494407d02bba3407a10ba1c1ab453fed5d658a6e.svn-base @ 1297:0a574315af3e

History | View | Annotate | Download (364 Bytes)

1
class AddIndexesToIssueStatus < ActiveRecord::Migration
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

    
8
  def self.down
9
    remove_index :issue_statuses, :position
10
    remove_index :issue_statuses, :is_closed
11
    remove_index :issue_statuses, :is_default
12
  end
13
end