Fix the daily email digest job which was not executing

This commit is contained in:
Mark Felder 2026-04-01 11:59:23 -07:00
commit 01ced6bea2
2 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1,9 @@
defmodule Pleroma.Repo.Migrations.CleanupStaleDigestEmailJobs do
use Ecto.Migration
def up do
execute(
"DELETE from oban_jobs WHERE queue = 'mailer' AND worker = 'Pleroma.Workers.Cron.DigestEmailsWorker'"
)
end
end