mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 08:36:29 +00:00
Marker update migration: Don't try to update virtual field.
This commit is contained in:
parent
2eae5793cd
commit
d8b12ffd59
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ defmodule Pleroma.Repo.Migrations.UpdateMarkers 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
|
||||||
|
|
Loading…
Reference in a new issue