Migration: Fix typo

This commit is contained in:
lain 2020-05-11 22:03:29 +02:00
parent f71376e30e
commit f6aa0b4a07

View file

@ -34,8 +34,8 @@ defp update_markers do
markers_attrs
|> Enum.chunk_every(1000)
|> Enum.each(fn marker_attrs ->
Repo.insert_all("markers", markers_attrs,
|> Enum.each(fn markers_attrs_chunked ->
Repo.insert_all("markers", markers_attrs_chunked,
on_conflict: {:replace, [:last_read_id]},
conflict_target: [:user_id, :timeline]
)