1
2
3
4
5
6
7
8
9
10
11
|
class AddTimestampsToCircles < ActiveRecord::Migration
def up
add_column :circles, :created_at, :datetime
add_column :circles, :updated_at, :datetime
end
def down
remove_column :circles, :created_at
remove_column :circles, :updated_at
end
end
|