bigdir/db/migrate/20130215111127_add_issues_c...

10 lines
188 B
Ruby
Raw Normal View History

2013-08-01 10:33:49 +08:00
class AddIssuesClosedOn < ActiveRecord::Migration
def up
add_column :issues, :closed_on, :datetime, :default => nil
end
def down
remove_column :issues, :closed_on
end
end