PhoenixKit.Modules.Connections.FollowHistory (phoenix_kit v1.7.71)

Copy Markdown View Source

Schema for follow activity history.

Records all follow/unfollow events for auditing and activity feeds. The main Follow table stores only current state (active follows), while this table preserves the complete history of actions.

Actions

  • "follow" - User followed another user
  • "unfollow" - User unfollowed another user

Summary

Functions

Creates a changeset for a follow history record.

Functions

changeset(history, attrs)

Creates a changeset for a follow history record.