mirror of
https://github.com/redmine/redmine.git
synced 2025-12-15 13:00:25 +01:00
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:
9
db/migrate/20130215111127_add_issues_closed_on.rb
Normal file
9
db/migrate/20130215111127_add_issues_closed_on.rb
Normal 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
|
||||
Reference in New Issue
Block a user