mongock / mongock

Lightweight Java based migration tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: Provide more Metadata on particular change unit run

ghenadiibatalski opened this issue · comments

Hello, additionally to the executionMillis it could be interesting to provide some more information about the run as change unit metadata: eg. affected rows count or some more description what was done, if multiple collections affected etc. Possibly, changeunit could aggregate some mixed typed statistic informations (eg. ChangeUnitMetadata.affectedRows and ChangeUnitMetadata.medatata as Map<String,String> or the like) and deliver it via the optional callback method on changeunit class firing on success or even on rollback (eg. for better tracking of changes/errors).

Regards, Gena

PS. Thank you for the simple, nice and just working framework/product :-)