Files
danbooru/test/unit
evazion 6b91e55283 comments: allow votes to be soft deleted.
Make it so that when a user removes their own vote, the vote is soft
deleted (the is_deleted flag is set) instead of hard deleted.

Changes:

* Add is_deleted flag to comment votes.
* Relax uniqueness constraint so you can have multiple deleted votes on
  the same comment. You can still only have one active vote on the comment.
* Add `soft_delete` method to Deletable concern.
2021-03-30 00:10:22 -05:00
..
2021-02-09 06:18:36 -06:00
2020-03-21 21:07:35 -05:00
2020-06-20 00:20:39 -05:00
2020-03-21 21:07:35 -05:00
2020-03-21 21:07:35 -05:00
2021-01-11 05:12:09 -06:00