code-corps / code-corps/code-corps-api
Add unread_conversations counter cache to user model
Open
blocked
Time: 2 hours
- Dominant language
- Elixir
- Stars
- 234
- Forks
- 82
- PR merge metrics
- No merged PRs in 30d
Description
# Problem
The `User` should have an `unread_conversations` counter cache added to its schema.
This should update any time the user has a conversation update and they've not yet read it.
Blocked by having a `read_at` for conversations.
Contributor guide
Assessment
This issue has not been assessed yet.