8 lines
164 B
Ruby
8 lines
164 B
Ruby
class AddTimestampsToExistingInfo < ActiveRecord::Migration
|
|
def change
|
|
Info.all.each do |i|
|
|
i.update_attributes(created_at: Time.now)
|
|
end
|
|
end
|
|
end
|