You can configure which audit strategy you I would like to use implement a custom implementation of AuditStrategy . But you cannot alter at the structure of moment there is no possibility to add your own columns to the _aud AUD -tables . You have to change the database schema with tools like flyway or liquibase and in the AuditStrategy you have to use native queries because manipulating the data-Map does not work for your needs unknown columns .
In the implementation of ValidityAuditStrategy the schema manipulation is hardcoded and not extensible. This should be refactored so that every custom AuditStrategy also contains the schema updates. |
|