summaryrefslogtreecommitdiffstats
path: root/db/migrate/20120127174243_add_custom_fields_multiple.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20120127174243_add_custom_fields_multiple.rb')
-rw-r--r--db/migrate/20120127174243_add_custom_fields_multiple.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20120127174243_add_custom_fields_multiple.rb b/db/migrate/20120127174243_add_custom_fields_multiple.rb
new file mode 100644
index 000000000..caee40bd4
--- /dev/null
+++ b/db/migrate/20120127174243_add_custom_fields_multiple.rb
@@ -0,0 +1,9 @@
+class AddCustomFieldsMultiple < ActiveRecord::Migration
+ def self.up
+ add_column :custom_fields, :multiple, :boolean, :default => false
+ end
+
+ def self.down
+ remove_column :custom_fields, :multiple
+ end
+end