projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Apply 4 suggestion(s) to 2 file(s)
[akkoma]
/
priv
/
repo
/
migrations
/
20200914105638_delete_notification_without_activity.exs
diff --git
a/priv/repo/migrations/20200914105638_delete_notification_without_activity.exs
b/priv/repo/migrations/20200914105638_delete_notification_without_activity.exs
index f5b339101e170e21e70d807741b6b5c0ab99a812..9333fc5a1a317711388287d10a82461df8f34e7e 100644
(file)
--- a/
priv/repo/migrations/20200914105638_delete_notification_without_activity.exs
+++ b/
priv/repo/migrations/20200914105638_delete_notification_without_activity.exs
@@
-11,7
+11,7
@@
defmodule Pleroma.Repo.Migrations.DeleteNotificationWithoutActivity do
select: %{id: type(q.id, :integer)},
where: is_nil(c.id)
)
- |> Repo.chunk_stream(1_000, :ba
ct
hes)
+ |> Repo.chunk_stream(1_000, :ba
tc
hes)
|> Stream.each(fn records ->
notification_ids = Enum.map(records, fn %{id: id} -> id end)