FEATURE: allow end users to opt out of getting any private messages

This commit is contained in:
Sam
2015-03-23 15:50:45 +11:00
parent 8cb380354e
commit 229ecc4f8a
8 changed files with 41 additions and 11 deletions

View File

@@ -0,0 +1,5 @@
class AddAllowPrivateMessagesToUserProfile < ActiveRecord::Migration
def change
add_column :user_profiles, :allow_private_messages, :boolean, default: true, null: false
end
end