Adds closed_on column that stores the time of the last closing (#824).

The value is preserved when reopening the issue.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11402 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2013-02-16 09:38:01 +00:00
parent 723e21243e
commit a45c0dc550
5 changed files with 108 additions and 4 deletions

View File

@@ -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