# `PhoenixKitComments.CommentDislike`
[🔗](https://github.com/BeamLabEU/phoenix_kit_comments/blob/v0.1.3/lib/phoenix_kit_comments/schemas/comment_dislike.ex#L1)

Schema for comment dislikes in the standalone Comments module.

Tracks which users have disliked which comments. Enforces one dislike per user per comment.

# `t`

```elixir
@type t() :: %PhoenixKitComments.CommentDislike{
  __meta__: term(),
  comment: PhoenixKitComments.Comment.t() | Ecto.Association.NotLoaded.t(),
  comment_uuid: UUIDv7.t(),
  inserted_at: DateTime.t() | nil,
  updated_at: DateTime.t() | nil,
  user: PhoenixKit.Users.Auth.User.t() | Ecto.Association.NotLoaded.t(),
  user_uuid: UUIDv7.t() | nil,
  uuid: UUIDv7.t() | nil
}
```

# `changeset`

Changeset for creating a comment dislike.

Unique constraint on (comment_uuid, user_uuid) — one dislike per user per comment.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
