Hi,
I have a problem with Liquibase script generation in Jmix Studio 2.4.1-242.
When I create a new Jmix 2.4 composite project with an add-on and an application subproject the Liquibase script is generated in the add-on and in the application as well so it runs twice and cause error when I start the application.
Steps:
- create a new Jmix 2.4 composite project
- add an add-on subproject (Java)
- add a full-stack application subproject (Java)
- set up separated datastores in both subproject
- create the databases
- set dependency in application to the add-on
- add a JPA entity in the add-on subproject
- generate Liquibase script in add-on
- run the application (or generate Liquibase scripts in the application project)
- prompt shown for including the add-on root changelog in the application changelog.xml → accept
- prompt shown for generating the same Liquibase script as in the add-on, but it shouldn’t
It works in our existing project that is updated to v2.4 from v2.3. When I run that project there is a prompt for running new scripts from the add-on and it is not generated again in the application.
Thanks,
Peter