summaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20131124175346_add_custom_fields_format_store.rb9
-rw-r--r--db/migrate/20131210180802_add_custom_fields_description.rb9
2 files changed, 18 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
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