2015-08-11 14:49:32 +08:00
|
|
|
class AddCreatedAtToActivities < ActiveRecord::Migration
|
|
|
|
def up
|
|
|
|
add_column :activities, :created_at, :timestamp
|
|
|
|
end
|
|
|
|
def end
|
2015-08-29 15:34:18 +08:00
|
|
|
remove_column :activities, :created_at
|
2015-08-11 14:49:32 +08:00
|
|
|
end
|
|
|
|
end
|