mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 00:32:52 +08:00
Log when and why an email was not sent in email_logs
This commit is contained in:
7
db/migrate/20140214151255_add_skipped_to_email_logs.rb
Normal file
7
db/migrate/20140214151255_add_skipped_to_email_logs.rb
Normal file
@ -0,0 +1,7 @@
|
||||
class AddSkippedToEmailLogs < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :email_logs, :skipped, :boolean, default: :false
|
||||
add_column :email_logs, :skipped_reason, :string
|
||||
add_index :email_logs, [:skipped, :created_at]
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user