How to clear just the bounced and rejected mail logs?
via the rails console, you can do
EmailLog.where(bounced: true).destroy_all
That is great. But if I substitute ‘rejected’ an error is thrown.
ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column email_logs.rejected does not exist
Maybe that only works going forward. The old rejected ones are still present.
