SatsAllDay e3571af1e1
Make Polls Anonymous (#1197)
* make polls anonymous

Introduce a `PollBlindVote` DB table that tracks when a user votes in a poll,
but does not track which choice they made.

Alter the `PollVote` DB table to remove the `userId` column, meaning `PollVote`
now tracks poll votes anonymously - it captures votes per poll option,
but does not track which user submitted the vote.

Update the `poll_vote` DB function to work with both tables now.

Update the `item.poll` resolver to calculate `meVoted` based on the `PollBlindVote`
table instead of `PollVote`.

* remove `meVoted` on `PollOption`s

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2024-06-03 13:56:43 -05:00
..
2024-05-28 12:18:54 -05:00
2024-05-13 10:14:35 -05:00
2024-03-19 19:37:31 -05:00
2024-03-19 19:37:31 -05:00
2024-04-16 17:58:26 -05:00
2024-04-26 21:22:30 -05:00
2023-08-25 18:21:51 -05:00
2024-03-25 15:35:32 -04:00
2024-03-19 19:37:31 -05:00
2024-05-19 15:52:02 -05:00
2024-03-19 19:37:31 -05:00
2024-05-01 09:30:36 -05:00
2023-08-04 20:45:12 -05:00
2023-11-10 09:22:14 -06:00
2024-04-28 17:25:25 -05:00
2024-05-28 12:18:54 -05:00
2024-05-15 12:05:50 -05:00
2024-03-19 19:37:31 -05:00
2024-04-08 17:54:39 -05:00
2024-05-28 12:18:54 -05:00
2021-05-06 16:15:22 -05:00
2024-05-31 10:20:52 -05:00
2024-03-19 19:37:31 -05:00
2024-05-15 12:05:50 -05:00
2024-05-23 10:07:33 -05:00
2022-01-27 13:18:48 -06:00
2024-03-26 19:49:10 -05:00
2024-03-27 14:04:04 -05:00
2024-03-19 19:37:31 -05:00
2024-04-14 17:34:21 -05:00
2024-04-03 17:27:21 -05:00
2024-03-19 19:37:31 -05:00
2024-03-19 19:37:31 -05:00
2021-10-15 13:05:34 -05:00
2024-04-08 09:13:12 -05:00
2024-05-30 09:20:33 -05:00
2024-03-19 19:37:31 -05:00
2024-03-19 19:37:31 -05:00
2023-07-24 13:53:53 -05:00
2023-07-24 13:53:53 -05:00
2023-10-03 14:35:53 -05:00
2024-05-28 12:18:54 -05:00
2024-06-03 13:56:43 -05:00
2024-03-26 18:36:31 -05:00
2024-05-28 12:18:54 -05:00
2024-03-27 14:04:04 -05:00
2024-03-19 19:37:31 -05:00
2024-05-31 10:20:52 -05:00
2023-05-06 16:51:17 -05:00
2024-03-19 19:37:31 -05:00
2024-04-03 17:27:21 -05:00
2024-04-08 17:54:39 -05:00
2024-03-19 19:37:31 -05:00
2024-03-19 19:37:31 -05:00
2024-03-26 18:36:31 -05:00
2023-08-25 18:21:51 -05:00
2024-06-03 12:12:42 -05:00
2024-05-28 08:18:32 -05:00
2024-05-28 12:18:54 -05:00
2024-05-28 12:18:54 -05:00
2024-05-15 12:05:50 -05:00
2024-04-27 18:37:57 -05:00