projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f71376e
)
Migration: Fix typo
author
lain
<lain@soykaf.club>
Mon, 11 May 2020 20:03:29 +0000
(22:03 +0200)
committer
lain
<lain@soykaf.club>
Mon, 11 May 2020 20:03:29 +0000
(22:03 +0200)
priv/repo/migrations/20200415181818_update_markers.exs
patch
|
blob
|
history
diff --git
a/priv/repo/migrations/20200415181818_update_markers.exs
b/priv/repo/migrations/20200415181818_update_markers.exs
index d85bd04e068e6b183a00b7fb652fa174512cfec8..bb9d8e860192d4057880dd607d013d014ce3180c 100644
(file)
--- a/
priv/repo/migrations/20200415181818_update_markers.exs
+++ b/
priv/repo/migrations/20200415181818_update_markers.exs
@@
-34,8
+34,8
@@
defmodule Pleroma.Repo.Migrations.UpdateMarkers do
markers_attrs
|> Enum.chunk_every(1000)
- |> Enum.each(fn marker
_attrs
->
- Repo.insert_all("markers", markers_attrs,
+ |> Enum.each(fn marker
s_attrs_chunked
->
+ Repo.insert_all("markers", markers_attrs
_chunked
,
on_conflict: {:replace, [:last_read_id]},
conflict_target: [:user_id, :timeline]
)