1 2 3 4 5 6 7 8 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