bigdir/db/migrate/20130215111127_add_issues_c...

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