From: lain Date: Tue, 14 Apr 2020 13:06:09 +0000 (+0200) Subject: Marker update migration: Don't try to update virtual field. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=d8b12ffd5909a2698cce50d81b69f00b8893d41b;p=akkoma Marker update migration: Don't try to update virtual field. --- 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