Merge branch 'marker-update-fix' into 'develop'
Marker update migration: Don't try to update virtual field. See merge request pleroma/pleroma!2380
This commit is contained in:
commit
13a7105b21
|
@ -32,7 +32,7 @@ defp update_markers do
|
|||
end)
|
||||
|
||||
Repo.insert_all("markers", markers_attrs,
|
||||
on_conflict: {:replace, [:last_read_id, :unread_count]},
|
||||
on_conflict: {:replace, [:last_read_id]},
|
||||
conflict_target: [:user_id, :timeline]
|
||||
)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue