summaryrefslogtreecommitdiffstats
path: root/db/migrate/087_change_projects_description_to_text.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-01-20 18:37:51 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-01-20 18:37:51 +0000
commitdf99d8f30801792560fc955ac36c2801e6aa5ff5 (patch)
tree967ec8ba76e959670fa5ef1586f7a0e6f9b247aa /db/migrate/087_change_projects_description_to_text.rb
parentd5b9dedca2298e8b95bbb8ac309ddfe8454a8c76 (diff)
downloadredmine-df99d8f30801792560fc955ac36c2801e6aa5ff5.tar.gz
redmine-df99d8f30801792560fc955ac36c2801e6aa5ff5.zip
Unlimited and optional project description. The project list will show truncated descriptions only (the first fews lines).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1088 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate/087_change_projects_description_to_text.rb')
-rw-r--r--db/migrate/087_change_projects_description_to_text.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/db/migrate/087_change_projects_description_to_text.rb b/db/migrate/087_change_projects_description_to_text.rb
new file mode 100644
index 000000000..d215840aa
--- /dev/null
+++ b/db/migrate/087_change_projects_description_to_text.rb
@@ -0,0 +1,8 @@
+class ChangeProjectsDescriptionToText < ActiveRecord::Migration
+ def self.up
+ change_column :projects, :description, :text, :default => ''
+ end
+
+ def self.down
+ end
+end