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-14 21:02:07 -06:00
2018-04-06 18:09:57 -07:00
2018-04-06 18:09:57 -07:00
2020-03-06 14:50:21 -06:00
2021-03-11 02:59:58 -06:00
2020-11-12 20:15:14 -06:00
2021-03-30 00:10:22 -05:00
2020-01-21 00:09:38 -06:00
2020-03-30 12:36:06 -05:00
2020-02-03 04:52:12 -06:00
2020-03-12 21:18:53 -05:00
2020-01-21 00:09:38 -06:00
2018-04-06 18:09:57 -07:00
2019-10-28 01:06:23 -05:00
2020-07-27 19:29:21 +00:00
2020-03-30 12:36:06 -05:00
2020-01-21 00:09:38 -06:00
2019-08-12 02:12:56 -05:00
2021-01-12 19:30:20 -06:00
2020-07-27 19:29:21 +00:00
2020-02-03 04:52:12 -06:00
2020-01-21 00:09:38 -06:00
2020-02-16 23:09:00 -06:00
2020-03-30 12:36:06 -05:00
2020-02-16 23:09:00 -06:00
2020-03-30 12:36:06 -05:00
2018-05-05 14:00:49 -05:00
2020-07-27 19:29:21 +00:00
2020-08-07 19:24:57 -05:00
2020-07-27 19:29:21 +00:00
2020-07-27 19:29:21 +00:00
2020-06-11 02:43:19 -05:00
2021-03-05 16:00:54 -06:00
2018-04-06 18:09:57 -07:00
2020-11-12 20:15:14 -06:00
2020-11-12 20:15:14 -06:00
2021-02-05 02:37:02 -06:00
2020-05-18 04:19:04 -05:00
2021-01-12 19:30:20 -06:00
2020-01-21 00:09:38 -06:00
2019-09-25 21:43:01 -05:00
2021-01-12 19:30:20 -06:00
2020-12-24 21:15:04 -06:00
2021-01-15 02:03:54 -06:00
2019-10-24 19:48:30 -05:00