Skip to content
Snippets Groups Projects
Commit f6aa0b4a authored by lain's avatar lain
Browse files

Migration: Fix typo

parent f71376e3
No related branches found
No related tags found
No related merge requests found
......@@ -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]
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment