Ecto schema representing a friendship/request between two users.
The friendship object stores the requester and the target user together with a status field which can be "pending", "accepted", "rejected" or "blocked".
Summary
Types
@type t() :: %Gamend.Friends.Friendship{ __meta__: term(), id: Ecto.UUID.t() | nil, inserted_at: term(), requester: term(), requester_id: Ecto.UUID.t() | nil, status: String.t(), target: term(), target_id: Ecto.UUID.t() | nil, updated_at: term() }
A friendship/request record between two users.