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

Schema for comment likes in the standalone Comments module.

Tracks which users have liked which comments. Enforces one like per user per comment.

# `t`

```elixir
@type t() :: %PhoenixKitComments.CommentLike{
  __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 like.

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

---

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