mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 00:26:30 +00:00
Migration: Fix typo
This commit is contained in:
parent
f71376e30e
commit
f6aa0b4a07
1 changed files with 2 additions and 2 deletions
|
@ -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