SoftRepo
A basic implementation of soft delete using repository pattern (Ecto Repo).
Installation
- If available in Hex, the package can be installed
by adding
soft_repoto your list of dependencies inmix.exs:
def deps do
[
{:soft_repo, "~> 0.1.0"}
]
end
- Configure paper_trail to use your application repo in config/config.exs:
config :soft_repo, repo: YourApplicationName.Repo
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/soft_repo.