summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-04-14 15:06:09 +0200
committerlain <lain@soykaf.club>2020-04-14 15:06:09 +0200
commitd8b12ffd5909a2698cce50d81b69f00b8893d41b (patch)
treebed506e85a76ec4ff5e58406a45225e3b6762602
parent2eae5793cdaa693c120db73a2dd6b0260e401dc8 (diff)
Marker update migration: Don't try to update virtual field.
-rw-r--r--priv/repo/migrations/20200210050658_update_markers.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/repo/migrations/20200210050658_update_markers.exs b/priv/repo/migrations/20200210050658_update_markers.exs
index b280e156c..db7a355ec 100644
--- a/priv/repo/migrations/20200210050658_update_markers.exs
+++ b/priv/repo/migrations/20200210050658_update_markers.exs
@@ -32,7 +32,7 @@ defmodule Pleroma.Repo.Migrations.UpdateMarkers 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