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
This commit is contained in:
Jean-Philippe Lang 2008-01-22 17:17:52 +00:00
parent dad5f6d403
commit 97e7432ce6
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, :default => '' change_column :projects, :description, :text
end end
def self.down def self.down