diff options
author | lain <lain@soykaf.club> | 2020-04-14 15:06:09 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-04-14 15:06:09 +0200 |
commit | d8b12ffd5909a2698cce50d81b69f00b8893d41b (patch) | |
tree | bed506e85a76ec4ff5e58406a45225e3b6762602 /priv | |
parent | 2eae5793cdaa693c120db73a2dd6b0260e401dc8 (diff) | |
download | pleroma-d8b12ffd5909a2698cce50d81b69f00b8893d41b.tar.gz |
Marker update migration: Don't try to update virtual field.
Diffstat (limited to 'priv')
-rw-r--r-- | priv/repo/migrations/20200210050658_update_markers.exs | 2 |
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 |