about summary refs log tree commit diff
path: root/db/migrate
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-05-12 20:14:35 +0200
committerThibG <thib@sitedethib.com>2019-05-17 23:51:14 +0200
commitbfc509f44ac5506d1d675eb01aeda1324d4cdb6b (patch)
treee3d31b911a04f99f090168de5b4e7d47175f0cc7 /db/migrate
parentc1cf8c1636e0a639cced585f0cb234547a64d417 (diff)
Add database row to hold status content type
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20190512200918_add_content_type_to_statuses.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20190512200918_add_content_type_to_statuses.rb b/db/migrate/20190512200918_add_content_type_to_statuses.rb
new file mode 100644
index 000000000..efbe2caa7
--- /dev/null
+++ b/db/migrate/20190512200918_add_content_type_to_statuses.rb
@@ -0,0 +1,5 @@
+class AddContentTypeToStatuses < ActiveRecord::Migration[5.2]
+  def change
+    add_column :statuses, :content_type, :string
+  end
+end