mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: allow end users to opt out of getting any private messages
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AddAllowPrivateMessagesToUserProfile < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :user_profiles, :allow_private_messages, :boolean, default: true, null: false
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user