diff options
author | multiple creatures <dev@multiple-creature.party> | 2020-01-15 14:24:55 -0600 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2020-01-15 14:24:55 -0600 |
commit | b4b8eaf61cfb0bd6df8fe1cf0d00e55be13dd1f5 (patch) | |
tree | 02f2933e69ae2172281908d0c08836ab0a47df15 /db/migrate | |
parent | f40c1ae07ed96e4629389867593ae5fbc6f226ae (diff) |
anti-harassment: add option to toggle whether to allow follows/packmate requests from accounts you've never interacted with before; default to off
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20200115201524_add_allow_unknown_follows_to_users.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/db/migrate/20200115201524_add_allow_unknown_follows_to_users.rb b/db/migrate/20200115201524_add_allow_unknown_follows_to_users.rb new file mode 100644 index 000000000..f735c8aa8 --- /dev/null +++ b/db/migrate/20200115201524_add_allow_unknown_follows_to_users.rb @@ -0,0 +1,7 @@ +class AddAllowUnknownFollowsToUsers < ActiveRecord::Migration[5.2] + def change + safety_assured { + add_column :users, :allow_unknown_follows, :boolean, null: false, default: false + } + end +end |