paper_trail
paper_trail copied to clipboard
Ability to delete multiple features and to initialise existing record
- change to PaperTrail.Multi.delete/3 to enable reception of model_key and version_key to execute multiple deletions (on the model of Ecto.Multi.insert/3
- add PaperTrail.initialise/2 to have function that explicitly initialise an already existing record into versions table
Hi @marioimr, thanks for your contribution! I've received few request before about adding the initialize feature so I'm willing to approve this PR. I've reviewed your PR, however we need test cases as well. Could you add them to this PR @marioimr ?
Hi @marioimr, thanks for your contribution! I've received few request before about adding the initialize feature so I'm willing to approve this PR. I've reviewed your PR, however we need test cases as well. Could you add them to this PR @marioimr ?
Hi @izelnakri, absolutely in the next days I'll add tests as well. Thank you!
Hi @marioimr , I'm willing to merge this PR once the asked changes and tests are added. Thanks!