Migration: Fix typo
This commit is contained in:
parent
f71376e30e
commit
f6aa0b4a07
|
@ -34,8 +34,8 @@ defp update_markers do
|
||||||
|
|
||||||
markers_attrs
|
markers_attrs
|
||||||
|> Enum.chunk_every(1000)
|
|> Enum.chunk_every(1000)
|
||||||
|> Enum.each(fn marker_attrs ->
|
|> Enum.each(fn markers_attrs_chunked ->
|
||||||
Repo.insert_all("markers", markers_attrs,
|
Repo.insert_all("markers", markers_attrs_chunked,
|
||||||
on_conflict: {:replace, [:last_read_id]},
|
on_conflict: {:replace, [:last_read_id]},
|
||||||
conflict_target: [:user_id, :timeline]
|
conflict_target: [:user_id, :timeline]
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue