pleroma/priv/repo/migrations/20200315125756_delete_fetch_initial_posts_jobs.exs

11 lines
263 B
Elixir
Raw Permalink Normal View History

defmodule Pleroma.Repo.Migrations.DeleteFetchInitialPostsJobs do
use Ecto.Migration
def change do
execute(
"delete from oban_jobs where worker = 'Pleroma.Workers.BackgroundWorker' and args->>'op' = 'fetch_initial_posts';",
""
)
end
end