socialforge/db/migrate/20150810064247_add_created_...

9 lines
185 B
Ruby

class AddCreatedAtToActivities < ActiveRecord::Migration
def up
add_column :activities, :created_at, :timestamp
end
def end
remove_column :activities, :created_at
end
end