diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-05-12 20:14:35 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2019-05-17 23:51:14 +0200 |
commit | bfc509f44ac5506d1d675eb01aeda1324d4cdb6b (patch) | |
tree | e3d31b911a04f99f090168de5b4e7d47175f0cc7 /db/migrate | |
parent | c1cf8c1636e0a639cced585f0cb234547a64d417 (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.rb | 5 |
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 |