From c65ab7c0f2722cee919ee2d516bf75f8a85daa21 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 20 Jan 2008 23:38:55 +0000 Subject: [PATCH] Missing migration for r1090. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1091 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- db/migrate/088_add_custom_fields_default_value.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 db/migrate/088_add_custom_fields_default_value.rb 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