Migration: Fix typo
authorlain <lain@soykaf.club>
Mon, 11 May 2020 20:03:29 +0000 (22:03 +0200)
committerlain <lain@soykaf.club>
Mon, 11 May 2020 20:03:29 +0000 (22:03 +0200)
priv/repo/migrations/20200415181818_update_markers.exs

index d85bd04e068e6b183a00b7fb652fa174512cfec8..bb9d8e860192d4057880dd607d013d014ce3180c 100644 (file)
@@ -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]
       )