Nebo15 / ecto_trail

EctoTrail allows to store Ecto changeset changes in a separate audit_log table.
https://hex.pm/packages/ecto_trail
MIT License
54 stars 5 forks source link

Corral/log only #26

Closed doctorcorral closed 1 year ago

doctorcorral commented 1 year ago

Description

New exposed functions to handle insert only operations. log_bulk allows to tie and log original changes (the ones to be logged) with their corresponding DB returning structs

Type of change

How Has This Been Tested?

An new test has been added to simulate usage, based on a pre made Repo.insert_all , passing it out to the new functionlog_bulk.

Checklist: