From: lain Date: Mon, 11 May 2020 20:03:29 +0000 (+0200) Subject: Migration: Fix typo X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=f6aa0b4a0792e7c69af6e7008a2ba354ca26adf4;p=akkoma Migration: Fix typo --- diff --git a/priv/repo/migrations/20200415181818_update_markers.exs b/priv/repo/migrations/20200415181818_update_markers.exs index d85bd04e0..bb9d8e860 100644 --- a/priv/repo/migrations/20200415181818_update_markers.exs +++ b/priv/repo/migrations/20200415181818_update_markers.exs @@ -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] )