summaryrefslogtreecommitdiffstats
path: root/db/migrate/20131124175346_add_custom_fields_format_store.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20131124175346_add_custom_fields_format_store.rb')
-rw-r--r--db/migrate/20131124175346_add_custom_fields_format_store.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20131124175346_add_custom_fields_format_store.rb b/db/migrate/20131124175346_add_custom_fields_format_store.rb
new file mode 100644
index 000000000..47c7b313a
--- /dev/null
+++ b/db/migrate/20131124175346_add_custom_fields_format_store.rb
@@ -0,0 +1,9 @@
+class AddCustomFieldsFormatStore < ActiveRecord::Migration
+ def up
+ add_column :custom_fields, :format_store, :text
+ end
+
+ def down
+ remove_column :custom_fields, :format_store
+ end
+end