diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-03-05 09:16:19 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-03-05 09:16:19 +0000 |
commit | b0754ca720f6262dd3b6f16eac23082d28d6fae6 (patch) | |
tree | 0d37dd0781d63e97c627bf1be6b03f2f10c2f92a /db | |
parent | 4f9f3097d905e349286761123d39fd2cf81f07c5 (diff) | |
download | redmine-b0754ca720f6262dd3b6f16eac23082d28d6fae6.tar.gz redmine-b0754ca720f6262dd3b6f16eac23082d28d6fae6.zip |
Fixes migration 87 error when running MySQL with STRICT_TRANS_TABLES on (#771).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1189 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/087_change_projects_description_to_text.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/087_change_projects_description_to_text.rb b/db/migrate/087_change_projects_description_to_text.rb index b06b0aa1c..132e921b3 100644 --- a/db/migrate/087_change_projects_description_to_text.rb +++ b/db/migrate/087_change_projects_description_to_text.rb @@ -1,6 +1,6 @@ class ChangeProjectsDescriptionToText < ActiveRecord::Migration def self.up - change_column :projects, :description, :text, :null => true + change_column :projects, :description, :text, :null => true, :default => nil end def self.down |