InitiatedMail: set default timestamp

This commit is contained in:
Simon Lehericey 2017-03-07 10:39:39 +01:00
parent 65e83dd6ec
commit 8cd46b7fdf

View file

@ -5,8 +5,7 @@ class CreateInitiatedMails < ActiveRecord::Migration[5.0]
t.text :body
t.belongs_to :procedure, index: true, unique: true, foreign_key: true
t.column :created_at, :timestamp, null: true
t.column :updated_at, :timestamp, null: true
t.timestamps
end
end
end