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.

005_issue_start_date.rb 297B

1234567891011
  1. class IssueStartDate < ActiveRecord::Migration[4.2]
  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. def self.down
  7. remove_column :issues, :start_date
  8. remove_column :issues, :done_ratio
  9. end
  10. end