Re: Audit Log
Posted: 2021-01-21 12:56
Hi,
I found another little bug (and a place where I wished for a little more precise information):
Thanks already landinialejandro. GREAT work!
For everyone else:
Once you installed using the plugin-way, you do not need to worry, that running the plugin to install again (i.e. you created new tables in your application), the plugin will not add again to tables that already have the extension.
Also: The extension will be at the beginning of the functions. I have the case, that I am doing some changes to the data in the before/after-update functions. Thus this may not be reflected in the auditor. For these cases you need to move the auditor call to a position n the specific functino after you are done with data manjpulation. I will add this to the docs.
Olaf
I found another little bug (and a place where I wished for a little more precise information):
Thanks already landinialejandro. GREAT work!
For everyone else:
Once you installed using the plugin-way, you do not need to worry, that running the plugin to install again (i.e. you created new tables in your application), the plugin will not add again to tables that already have the extension.
Also: The extension will be at the beginning of the functions. I have the case, that I am doing some changes to the data in the before/after-update functions. Thus this may not be reflected in the auditor. For these cases you need to move the auditor call to a position n the specific functino after you are done with data manjpulation. I will add this to the docs.
Olaf