about summary refs log tree commit diff
path: root/db/migrate
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20191220020429_add_hide_boosts_to_users.rb5
-rw-r--r--db/migrate/20191220020441_add_only_known_to_users.rb5
2 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/20191220020429_add_hide_boosts_to_users.rb b/db/migrate/20191220020429_add_hide_boosts_to_users.rb
new file mode 100644
index 000000000..95c1889e5
--- /dev/null
+++ b/db/migrate/20191220020429_add_hide_boosts_to_users.rb
@@ -0,0 +1,5 @@
+class AddHideBoostsToUsers < ActiveRecord::Migration[5.2]
+  def change
+    add_column :users, :hide_boosts, :boolean
+  end
+end
diff --git a/db/migrate/20191220020441_add_only_known_to_users.rb b/db/migrate/20191220020441_add_only_known_to_users.rb
new file mode 100644
index 000000000..5646b675c
--- /dev/null
+++ b/db/migrate/20191220020441_add_only_known_to_users.rb
@@ -0,0 +1,5 @@
+class AddOnlyKnownToUsers < ActiveRecord::Migration[5.2]
+  def change
+    add_column :users, :only_known, :boolean
+  end
+end