diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2018-09-23 14:43:09 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2018-09-23 14:43:09 +0000 |
commit | 7d7e44ba9cb3c6a4b6a8549a8cf253b789fc85ae (patch) | |
tree | 2f7995103b6d0f473a0ce893621600f64477d037 /db/migrate/20150113194759_create_email_addresses.rb | |
parent | daa7d2ba181627baf42f1e1efea04e4750e05331 (diff) | |
download | redmine-7d7e44ba9cb3c6a4b6a8549a8cf253b789fc85ae.tar.gz redmine-7d7e44ba9cb3c6a4b6a8549a8cf253b789fc85ae.zip |
Failed to run “rake db:migrate" command against clean database on MySQL5.7 (#27283).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17515 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate/20150113194759_create_email_addresses.rb')
-rw-r--r-- | db/migrate/20150113194759_create_email_addresses.rb | 4 |
1 files 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 |