Suggestion how to add a title and description to each change in AshPaperTrail
Hi sorry, I’m planning to build a document system where each change must have a title and a short description provided by the user making the change.
What would you suggest as the best way to implement this? If I add such fields, I believe I could easily integrate AshPaperTrail for version tracking in this part as well.
I initially considered adding a
title
title
and
description
description
field directly to the main document table, but that approach feels a bit messy to me.
The Elixir backend framework for unparalleled productivity. Declarative tools that let you stop wasting time. Use with Phoenix LiveView or build APIs in minutes for your front-end of choice.