mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-09-09 05:08:25 +00:00
Every time someone tries to use it, it goes mad and tries to scrape the entire fediverse for no visible reason, it's better to just remove it than continue shipping it in it's current state. idea acked by lain and feld on irc Closes #1595 #1422
10 lines
263 B
Elixir
10 lines
263 B
Elixir
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
|