Hi
As it was said by Konstantin above, Studio doesn’t support generating changelogs for non-default schema. And I would like to note that there are no difference between Jmix 1.5 and Jmix 2.2 in non-default schema handling.
Regarding your case: “Found that when we add this schema property to @Table annotation in entity class, it doesn’t generate anything”.
I’ve found that if you manually create needed schema in database and specify schema as datastore URL parameter (e.g. ?currentSchema=myschema
for PostgreSQL) Liquibase changelog generation works for such datastore.
But please note that resulting changelog(s) won’t contain any information about schema, so it should be run using this connection with schema parameter. Select add-on datastore and perform Update action for it.
Also you shouldn’t include add-ons root changelogs to the application root changelog as Studio suggests. In other case they will be executed on default schema.