summaryrefslogtreecommitdiffstats
path: root/db/migrate
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-01-20 23:38:55 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-01-20 23:38:55 +0000
commitc65ab7c0f2722cee919ee2d516bf75f8a85daa21 (patch)
tree488434284bcecd4109d93ce8f1f0774d26e500eb /db/migrate
parentd6bfb7fa4da4068c3e64f3fce16574de56fd72e9 (diff)
downloadredmine-c65ab7c0f2722cee919ee2d516bf75f8a85daa21.tar.gz
redmine-c65ab7c0f2722cee919ee2d516bf75f8a85daa21.zip
Missing migration for r1090.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1091 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/088_add_custom_fields_default_value.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/088_add_custom_fields_default_value.rb b/db/migrate/088_add_custom_fields_default_value.rb
new file mode 100644
index 000000000..33a39ec6e
--- /dev/null
+++ b/db/migrate/088_add_custom_fields_default_value.rb
@@ -0,0 +1,9 @@
+class AddCustomFieldsDefaultValue < ActiveRecord::Migration
+ def self.up
+ add_column :custom_fields, :default_value, :text
+ end
+
+ def self.down
+ remove_column :custom_fields, :default_value
+ end
+end