Browse Source

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
tags/4.0.0
Jean-Philippe Lang 5 years ago
parent
commit
7d7e44ba9c
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      db/migrate/20150113194759_create_email_addresses.rb

+ 2
- 2
db/migrate/20150113194759_create_email_addresses.rb View File

@@ -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

Loading…
Cancel
Save