demarches-normaliennes/db/migrate/20150922085811_add_time_stamp_to_dossier.rb

7 lines
223 B
Ruby
Raw Normal View History

2015-09-22 11:04:04 +02:00
class AddTimeStampToDossier < ActiveRecord::Migration
def change
2018-10-25 15:11:12 +02:00
add_column :dossiers, :created_at, :datetime, default: Time.zone.now
add_column :dossiers, :updated_at, :datetime, default: Time.zone.now
2015-09-22 11:04:04 +02:00
end
end