From 7d7e44ba9cb3c6a4b6a8549a8cf253b789fc85ae Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 23 Sep 2018 14:43:09 +0000 Subject: [PATCH] =?utf8?q?Failed=20to=20run=20=E2=80=9Crake=20db:migrate"?= =?utf8?q?=20command=20against=20clean=20database=20on=20MySQL5.7=20(#2728?= =?utf8?q?3).?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17515 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- db/migrate/20150113194759_create_email_addresses.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/migrate/20150113194759_create_email_addresses.rb b/db/migrate/20150113194759_create_email_addresses.rb index 22ad19e94..001beda22 100644 --- a/db/migrate/20150113194759_create_email_addresses.rb +++ b/db/migrate/20150113194759_create_email_addresses.rb @@ -5,8 +5,8 @@ class CreateEmailAddresses < ActiveRecord::Migration[4.2] t.column :address, :string, :null => false t.column :is_default, :boolean, :null => false, :default => false t.column :notify, :boolean, :null => false, :default => true - t.column :created_on, :timestamp, :null => false - t.column :updated_on, :timestamp, :null => false + t.column :created_on, :datetime, :null => false + t.column :updated_on, :datetime, :null => false end end end -- 2.39.5