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
This commit is contained in:
Jean-Philippe Lang 2008-03-05 09:16:19 +00:00
parent 4f9f3097d9
commit b0754ca720
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
class ChangeProjectsDescriptionToText < ActiveRecord::Migration class ChangeProjectsDescriptionToText < ActiveRecord::Migration
def self.up def self.up
change_column :projects, :description, :text, :null => true change_column :projects, :description, :text, :null => true, :default => nil
end end
def self.down def self.down