1 defmodule Pleroma.Repo.Migrations.RemoveBackgroundJobs do
4 import Ecto.Query, only: [from: 2]
9 j.queue == ^"background" and
10 fragment("?->>'op'", j.args) in ^[
11 "fetch_data_for_activity",
12 "media_proxy_prefetch",
15 j.worker == ^"Pleroma.Workers.BackgroundWorker",
18 |> Pleroma.Repo.delete_all()