]> Untitled Git - lemmy.git/commit
Do not decrement comment score twice when removing then deleting. (#3196)
authorJP Moresmau <jp@moresmau.fr>
Mon, 3 Jul 2023 18:13:53 +0000 (20:13 +0200)
committerGitHub <noreply@github.com>
Mon, 3 Jul 2023 18:13:53 +0000 (14:13 -0400)
commitbbca6ef6dcad4e569fc868947e48e004f60ef43d
tree1e69bc172d1d119ee4502b1f4c9b9dcec1ea387c
parent696cca4ce447445d863717d61300f1ffb3ab4d4c
Do not decrement comment score twice when removing then deleting. (#3196)

Fixes #3004

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
crates/db_schema/src/aggregates/person_aggregates.rs
migrations/2023-06-19-120700_no_double_deletion/down.sql [new file with mode: 0644]
migrations/2023-06-19-120700_no_double_deletion/up.sql [new file with mode: 0644]