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

Copy Markdown View Source

Schema for block activity history.

Records all block/unblock events for auditing and activity feeds. The main Block table stores only current state (active blocks), while this table preserves the complete history of actions.

Actions

  • "block" - User blocked another user
  • "unblock" - User unblocked another user

Summary

Functions

Creates a changeset for a block history record.

Functions

changeset(history, attrs)

Creates a changeset for a block history record.