about summary refs log tree commit diff
path: root/db/migrate
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-12-21 13:59:38 -0600
committermultiple creatures <dev@multiple-creature.party>2019-12-21 13:59:38 -0600
commit5f92c6429fac98e5c9e3b02d158b6d4eab89945d (patch)
tree7ffa8f2d41288c88ba8720a42d747924fa371e10 /db/migrate
parent8312a6e51017498c417070cbcbf115da184b786d (diff)
add option to only apply phrase filters to timelines
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20191221195147_add_filter_timelines_only_to_user.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20191221195147_add_filter_timelines_only_to_user.rb b/db/migrate/20191221195147_add_filter_timelines_only_to_user.rb
new file mode 100644
index 000000000..ba9135273
--- /dev/null
+++ b/db/migrate/20191221195147_add_filter_timelines_only_to_user.rb
@@ -0,0 +1,5 @@
+class AddFilterTimelinesOnlyToUser < ActiveRecord::Migration[5.2]
+  def change
+    add_column :users, :filter_timelines_only, :boolean, default: false, null: false
+  end
+end