PhoenixKitUserConnections.Follow (PhoenixKitUserConnections v0.1.2)

Copy Markdown View Source

Schema for one-way follow relationships.

Summary

Types

t()

@type t() :: %PhoenixKitUserConnections.Follow{
  __meta__: term(),
  followed: PhoenixKit.Users.Auth.User.t() | Ecto.Association.NotLoaded.t(),
  followed_uuid: UUIDv7.t(),
  follower: PhoenixKit.Users.Auth.User.t() | Ecto.Association.NotLoaded.t(),
  follower_uuid: UUIDv7.t(),
  inserted_at: DateTime.t() | nil,
  uuid: UUIDv7.t() | nil
}

Functions

changeset(follow, attrs)