mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 08:43:25 +08:00
f0a122a66c
introduce new setting email_always, that will force emails to send to users regardless of presence on site
6 lines
150 B
Ruby
6 lines
150 B
Ruby
class AddEmailAlwaysToUsers < ActiveRecord::Migration
|
|
def change
|
|
add_column :users, :email_always, :bool, default: false, null: false
|
|
end
|
|
end
|