Jmix 2.1.3
Audit Addon installed
I installed the audit add on and the menu items are there as expected, but the Changelog is not showing the database tables needed for the audit function, and I’m not sure what the structure is to create manually.
Jmix 2.1.3
Audit Addon installed
I installed the audit add on and the menu items are there as expected, but the Changelog is not showing the database tables needed for the audit function, and I’m not sure what the structure is to create manually.
Hi Mark.
Can’t reproduce this on new Jmix 2.1.3 project.
Do you have the following line in your project changelog.xml?
<include file="/io/jmix/audit/liquibase/changelog.xml"/>
Do you have any AUDIT_...
tables in you database?
What version of Jmix plugin do you have?
What database do you use?
Regards,
Ivan
Hi Ivan,
I’m working on the same project as Mark.
Can confirm, the we have the following include in our changelog.xml
<include file="/io/jmix/audit/liquibase/changelog.xml"/>
I believe we’re using the audit plugin version:
jmix-audit-2.1.3
MySQL 8.0.35 is being used for my local version of this project.
No database scripts generated for this automatically using IntelliJ with JMIX plugin + installing Audit from the add-ons marketplace.
Regards,
Kyle
Hi Kyle,
The scripts for creating AUDIT_*
tables come with the add-on and are included in your main changelog.xml
. So no other scripts should be generated.
When you execute Update command on the main data store, or just run the application, all scripts should be executed and tables should be created. Check also the contents of the databasechangelog
table - it should contain records with io/jmix/audit/liquibase/changelog/001-audit.xml
value in the filename
column, which is a sign that the changelogs were executed.
Regards,
Konstantin