バウンスおよび拒否されたメールログのみをクリアする方法
レールコンソール経由で、以下を実行できます。
EmailLog.where(bounced: true).destroy_all
「いいね!」 4
それは素晴らしいです。しかし、「rejected」を代入するとエラーが発生します。
ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column email_logs.rejected does not exist
それは前方のみで機能するのかもしれません。古い却下されたものはまだ存在しています。
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
