Migrating Multiple Schemas for one DB

We want to migrate multiple schemas in one changelog, with references to the schemas in the XML. We tried using includeSchema=true when generating a changelog to add the correct schema references for each changeset. But this made no difference, and we ended up writing a custom script to do this ourselves. Ideally we could use standard Liquibase logic to generate schema information in a changelog with multiple schemas. Is this possible with any version of Liquibase?

Hi @sbd-jmann

Sorry, but could you please confirm if you are looking for generating changelog for some existing schema in database?

Rakhi Agrawal

Hi Rakhi, thanks! Yes, I can confirm that we are generating the changelog for a DB that has multiple schemas within it already.


Can you share the exact command you have tried? and ERROR you got (if any) along with the output?