redmine/db/migrate/20130215111127_add_issues_closed_on.rb
Jean-Philippe Lang a45c0dc550 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
2013-02-16 09:38:01 +00:00

10 lines
188 B
Ruby

class AddIssuesClosedOn < ActiveRecord::Migration
def up
add_column :issues, :closed_on, :datetime, :default => nil
end
def down
remove_column :issues, :closed_on
end
end