From: Jean-Philippe Lang Date: Tue, 22 Jan 2008 17:17:52 +0000 (+0000) Subject: Fixed migration 87 (mysql: TEXT column can't have a default value). X-Git-Tag: 0.7.0-RC1~193 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=97e7432ce6da80dea633cd99e934943925a774b5;p=redmine.git Fixed migration 87 (mysql: TEXT column can't have a default value). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1093 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/db/migrate/087_change_projects_description_to_text.rb b/db/migrate/087_change_projects_description_to_text.rb index d215840aa..2829655d1 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, :default => '' + change_column :projects, :description, :text end def self.down