mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-26 02:40:18 +00:00
Migration: Fix typo
This commit is contained in:
parent
f71376e30e
commit
f6aa0b4a07
|
@ -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 markers_attrs_chunked ->
|
||||
Repo.insert_all("markers", markers_attrs_chunked,
|
||||
on_conflict: {:replace, [:last_read_id]},
|
||||
conflict_target: [:user_id, :timeline]
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue