What problem does it solve?
This Skill provides a robust framework for implementing event sourcing in Elixir applications, enabling audit trails, temporal queries, and history replay for Ecto schemas.
Core Features & Use Cases
- Event Logging: Records all changes to specified schemas as immutable events.
- Audit Trails: Maintains a complete history of all data modifications.
- Temporal Queries: Allows querying data as it existed at any point in time.
- History Replay: Reconstructs schema state by replaying events.
- Schema Versioning: Manages schema evolution and automatic migration during replay.
- Use Case: Track every change to a user's profile, from creation to updates and deletions, allowing you to revert to any previous state or audit who changed what and when.
Quick Start
Use the evented skill to insert a new user record into the Data.User schema.