]> source.dussan.org Git - redmine.git/commitdiff
Fixed migration 87 (mysql: TEXT column can't have a default value).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 22 Jan 2008 17:17:52 +0000 (17:17 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 22 Jan 2008 17:17:52 +0000 (17:17 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1093 e93f8b46-1217-0410-a6f0-8f06a7374b81

db/migrate/087_change_projects_description_to_text.rb

index d215840aa954a253f8e93dc31ec26e17bfc2acf2..2829655d1a115acb1ba809b61d9df21bb703111c 100644 (file)
@@ -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