Revert "Merge branch 'marker-update-fix' into 'develop'"

This reverts merge request !2380
This commit is contained in:
lain 2020-04-14 16:31:30 +00:00
parent bf3afbc1a1
commit 7c060432fc

View file

@ -32,7 +32,7 @@ defp update_markers do
end)
Repo.insert_all("markers", markers_attrs,
on_conflict: {:replace, [:last_read_id]},
on_conflict: {:replace, [:last_read_id, :unread_count]},
conflict_target: [:user_id, :timeline]
)
end