paper_trail icon indicating copy to clipboard operation
paper_trail copied to clipboard

Ability to delete multiple features and to initialise existing record

Open marioimr opened this issue 4 years ago • 3 comments

  • 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

marioimr avatar Jul 08 '20 13:07 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 ?

izelnakri avatar Jul 15 '20 18:07 izelnakri

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!

marioimr avatar Jul 16 '20 08:07 marioimr

Hi @marioimr , I'm willing to merge this PR once the asked changes and tests are added. Thanks!

izelnakri avatar Dec 27 '20 22:12 izelnakri