demarches-normaliennes/db/migrate/20150922085811_add_time_stamp_to_dossier.rb
2015-09-22 11:56:14 +02:00

6 lines
213 B
Ruby

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