projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2eae579
)
Marker update migration: Don't try to update virtual field.
author
lain
<lain@soykaf.club>
Tue, 14 Apr 2020 13:06:09 +0000
(15:06 +0200)
committer
lain
<lain@soykaf.club>
Tue, 14 Apr 2020 13:06:09 +0000
(15:06 +0200)
priv/repo/migrations/20200210050658_update_markers.exs
patch
|
blob
|
history
diff --git
a/priv/repo/migrations/20200210050658_update_markers.exs
b/priv/repo/migrations/20200210050658_update_markers.exs
index b280e156c7fc8bb43ed44a1d550c2c3e5fee180f..db7a355ec1b918c38ee876c70f226c3b91ce1262 100644
(file)
--- 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