about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/models/status.rb1
-rw-r--r--db/migrate/20190728201832_add_boostable_to_statuses.rb5
2 files changed, 6 insertions, 0 deletions
diff --git a/app/models/status.rb b/app/models/status.rb
index a8c53d930..16206ae5e 100644
--- a/app/models/status.rb
+++ b/app/models/status.rb
@@ -31,6 +31,7 @@
 #  edited                 :boolean
 #  imported               :boolean
 #  origin                 :string
+#  boostable              :boolean
 #
 
 class Status < ApplicationRecord
diff --git a/db/migrate/20190728201832_add_boostable_to_statuses.rb b/db/migrate/20190728201832_add_boostable_to_statuses.rb
new file mode 100644
index 000000000..3f7700201
--- /dev/null
+++ b/db/migrate/20190728201832_add_boostable_to_statuses.rb
@@ -0,0 +1,5 @@
+class AddBoostableToStatuses < ActiveRecord::Migration[5.2]
+  def change
+    add_column :statuses, :boostable, :boolean
+  end
+end