InitiatedMail: set default timestamp
This commit is contained in:
parent
65e83dd6ec
commit
8cd46b7fdf
1 changed files with 1 additions and 2 deletions
|
@ -5,8 +5,7 @@ class CreateInitiatedMails < ActiveRecord::Migration[5.0]
|
||||||
t.text :body
|
t.text :body
|
||||||
t.belongs_to :procedure, index: true, unique: true, foreign_key: true
|
t.belongs_to :procedure, index: true, unique: true, foreign_key: true
|
||||||
|
|
||||||
t.column :created_at, :timestamp, null: true
|
t.timestamps
|
||||||
t.column :updated_at, :timestamp, null: true
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue