code-corps / code-corps/code-corps-api

Add unread_conversations counter cache to user model

Open
#1,316 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.