From c1953592b79319b673304304dc4efa97ad00249e Mon Sep 17 00:00:00 2001 From: Simon Lehericey Date: Tue, 7 Mar 2017 10:39:56 +0100 Subject: [PATCH] ReceivedMail: change timestamp for migration --- db/migrate/20170306102116_create_received_mails.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/db/migrate/20170306102116_create_received_mails.rb b/db/migrate/20170306102116_create_received_mails.rb index dbe07a298..2b1526ce8 100644 --- a/db/migrate/20170306102116_create_received_mails.rb +++ b/db/migrate/20170306102116_create_received_mails.rb @@ -5,7 +5,8 @@ class CreateReceivedMails < ActiveRecord::Migration[5.0] t.text :object t.references :procedure, foreign_key: true - t.timestamps + t.column :created_at, :timestamp, null: true + t.column :updated_at, :timestamp, null: true end end end