summaryrefslogtreecommitdiffstats
path: root/db/migrate
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-01-22 17:17:52 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-01-22 17:17:52 +0000
commit97e7432ce6da80dea633cd99e934943925a774b5 (patch)
treea23f63dbc65762633b778809f5071f461cb06563 /db/migrate
parentdad5f6d403dcf70e11065da199f05be49ca2bc48 (diff)
downloadredmine-97e7432ce6da80dea633cd99e934943925a774b5.tar.gz
redmine-97e7432ce6da80dea633cd99e934943925a774b5.zip
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
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/087_change_projects_description_to_text.rb2
1 files changed, 1 insertions, 1 deletions
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