zebbra / ash_paper_trail

Creates and manages a Versions resource for a resource.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AshPaperTrail

Creates and manage a version tracking resource for a given resource.

The version resource's changes attribute will be a dumped map of the original resource. You can configure it to be a complete snapshot or just the changes.

Setup

First, add ash_paper_trail dependency

def deps do
  [
    ...
    {:ash_paper_trail, "~> 0.1.0"}
  ]
end

The follow the getting started guide

About

Creates and manages a Versions resource for a resource.

License:MIT License


Languages

Language:Elixir 100.0%