I think the next 3 questions are for @koj or @mfaure.
But can you describe what you want to do (not the how but what and why).
You can also tell us what changes you want to make
on the database :
(CREATE TABLE (…) and
ALTER TABLE (…)
1. Modify the database structure
2. Find methods that record the result of an audit to the DB