Merge branch 'ecto_sql_update' into 'develop'
Dependencies: Update Ecto SQL. See merge request pleroma/pleroma!1160
This commit is contained in:
commit
e5b34f5e05
5 changed files with 12 additions and 9 deletions
|
|
@ -1144,7 +1144,6 @@ defmodule Pleroma.User do
|
|||
stream =
|
||||
ap_id
|
||||
|> Activity.query_by_actor()
|
||||
|> Activity.with_preloaded_object()
|
||||
|> Repo.stream()
|
||||
|
||||
Repo.transaction(fn -> Enum.each(stream, &delete_activity(&1)) end, timeout: :infinity)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue