Liquibase & (composite | addon) projects question

should liquibase generate changes for database in addons?

case - create an empty addon, add the simple entity by jmix console, initiate the creation of a liquibase changelog. As a result, we get an empty .xml file.

The same for composite project - liquibase started for fullstack project in composite project we will not get a meaningful changelog.

All ok for independent fullstack projects.

Is this how it should be or is there something else that needs to be tweaked?
jmix 1.4.4

Yes, Studio can generate Liquibase changelogs in add-ons, including when working with them in composite projects.

To generate a changelog, you first need to define a Data Store in the add-on. It will be displayed in the Jmix tree as usual:
image

but its settings will be stored in jmix-studio.xml file instead of the Java configuration.

After that you can execute the “Generate Liquibase Changelog” action on the Data Store.

The same is true for a composite project, but you need to define the Data Store for the same add-on again, because the composite project has its own jmix-studio.xml file located in the all project. So data store settings will be stored separately for when you are working on the add-on in a standalone project and in a composite project, but the set of generated changelogs will of course be the same.