From b0754ca720f6262dd3b6f16eac23082d28d6fae6 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Wed, 5 Mar 2008 09:16:19 +0000 Subject: [PATCH] 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 --- db/migrate/087_change_projects_description_to_text.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5