add on_conflict clauses to common unique constraint failures (#1264)
authoreiknat <68170752+eiknat@users.noreply.github.com>
Wed, 16 Dec 2020 14:42:57 +0000 (09:42 -0500)
committerGitHub <noreply@github.com>
Wed, 16 Dec 2020 14:42:57 +0000 (09:42 -0500)
commit036161cb38314ec3c3ac9c94de34e8d5bcc043ad
tree8303bc839502c01cbfc6fc618d0b8be510868d68
parentc947539301ad2a0cbf303809399b16ee6f244859
add on_conflict clauses to common unique constraint failures (#1264)

* add on_conflict clauses to common unique constraint failures

* user mention: change create conflict to do_update
lemmy_db/src/comment.rs
lemmy_db/src/community.rs
lemmy_db/src/post.rs
lemmy_db/src/user_mention.rs
lemmy_structs/src/lib.rs