summaryrefslogtreecommitdiffstats
path: root/db/migrate/20131210180802_add_custom_fields_description.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-12-14 08:22:43 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-12-14 08:22:43 +0000
commit2e2e2cfe425c2664517fb59836fbd3eff5e35861 (patch)
treee3daa66ee8b36d2f1a1468ec9501fba5bc37d71c /db/migrate/20131210180802_add_custom_fields_description.rb
parentc74f6d9f9bcf02ccc480a2028802b83ec5d91aca (diff)
downloadredmine-2e2e2cfe425c2664517fb59836fbd3eff5e35861.tar.gz
redmine-2e2e2cfe425c2664517fb59836fbd3eff5e35861.zip
Merged custom fields format refactoring.
git-svn-id: http://svn.redmine.org/redmine/trunk@12400 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate/20131210180802_add_custom_fields_description.rb')
-rw-r--r--db/migrate/20131210180802_add_custom_fields_description.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20131210180802_add_custom_fields_description.rb b/db/migrate/20131210180802_add_custom_fields_description.rb
new file mode 100644
index 000000000..8a5d9809d
--- /dev/null
+++ b/db/migrate/20131210180802_add_custom_fields_description.rb
@@ -0,0 +1,9 @@
+class AddCustomFieldsDescription < ActiveRecord::Migration
+ def up
+ add_column :custom_fields, :description, :text
+ end
+
+ def down
+ remove_column :custom_fields, :description
+ end
+end