diff options
Diffstat (limited to 'db/migrate/20130215111127_add_issues_closed_on.rb')
-rw-r--r-- | db/migrate/20130215111127_add_issues_closed_on.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20130215111127_add_issues_closed_on.rb b/db/migrate/20130215111127_add_issues_closed_on.rb new file mode 100644 index 000000000..2670deba5 --- /dev/null +++ b/db/migrate/20130215111127_add_issues_closed_on.rb @@ -0,0 +1,9 @@ +class AddIssuesClosedOn < ActiveRecord::Migration + def up + add_column :issues, :closed_on, :datetime, :default => nil + end + + def down + remove_column :issues, :closed_on + end +end |