From bfc509f44ac5506d1d675eb01aeda1324d4cdb6b Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Sun, 12 May 2019 20:14:35 +0200 Subject: Add database row to hold status content type --- db/migrate/20190512200918_add_content_type_to_statuses.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 db/migrate/20190512200918_add_content_type_to_statuses.rb (limited to 'db/migrate/20190512200918_add_content_type_to_statuses.rb') 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 -- cgit