mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 11:51:43 +08:00

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
|