]> source.dussan.org Git - redmine.git/commitdiff
Missing migration for r1090.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 20 Jan 2008 23:38:55 +0000 (23:38 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 20 Jan 2008 23:38:55 +0000 (23:38 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1091 e93f8b46-1217-0410-a6f0-8f06a7374b81

db/migrate/088_add_custom_fields_default_value.rb [new file with mode: 0644]

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 (file)
index 0000000..33a39ec
--- /dev/null
@@ -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