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 / db / migrate / 005_issue_start_date.rb @ 912:5e80956cc792

History | View | Annotate | Download (292 Bytes)

1
class IssueStartDate < ActiveRecord::Migration
2
  def self.up
3
    add_column :issues, :start_date, :date
4
    add_column :issues, :done_ratio, :integer, :default => 0, :null => false
5
  end
6

    
7
  def self.down
8
    remove_column :issues, :start_date
9
    remove_column :issues, :done_ratio
10
  end
11
end