demarches-normaliennes/db/migrate/20150922085811_add_time_stamp_to_dossier.rb
2018-10-26 10:10:20 +00:00

6 lines
223 B
Ruby

class AddTimeStampToDossier < ActiveRecord::Migration
def change
add_column :dossiers, :created_at, :datetime, default: Time.zone.now
add_column :dossiers, :updated_at, :datetime, default: Time.zone.now
end
end