about summary refs log tree commit diff
path: root/db/migrate/20211115032527_add_trendable_to_preview_cards.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20211115032527_add_trendable_to_preview_cards.rb')
-rw-r--r--db/migrate/20211115032527_add_trendable_to_preview_cards.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20211115032527_add_trendable_to_preview_cards.rb b/db/migrate/20211115032527_add_trendable_to_preview_cards.rb
new file mode 100644
index 000000000..87bf3d7a2
--- /dev/null
+++ b/db/migrate/20211115032527_add_trendable_to_preview_cards.rb
@@ -0,0 +1,5 @@
+class AddTrendableToPreviewCards < ActiveRecord::Migration[6.1]
+  def change
+    add_column :preview_cards, :trendable, :boolean
+  end
+end