Skip to content
Snippets Groups Projects
Commit 13a7105b authored by lain's avatar lain
Browse files

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

Marker update migration: Don't try to update virtual field.

See merge request pleroma/pleroma!2380
parents 5fc6ce30 d8b12ffd
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,7 @@ defp update_markers do ...@@ -32,7 +32,7 @@ defp update_markers do
end) end)
Repo.insert_all("markers", markers_attrs, 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] conflict_target: [:user_id, :timeline]
) )
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment