When I try the liquibase --includeSchema=true --schemas=one,two generateChangeLog, I am hoping to see in the changelog statements like this
CREATE TABLE <one>.TESTTABLE
but instead I only get
CREATE TABLE TESTTABLE
with no indication of the schema.
Can liquibase create changelogs that use the schema name inline like this?
If not… is there any alternative to using a separate changelog for each schema?
We have one database with roughly ten schemas, and would like to have one set of changelogs that encompass all the schemas.
(Each schema is its own entity, there is no replication of structures across the schemas)
Could you please help with the Liquibase version you tried this with? I checked this with Version 4.1.1 and found it working fine. It is genearting proper SQL statements for me with different specified schemas.
Sorry for the delay, it turned out there was some sort of bug in in newer version I was using (4.4.?)… but going back to 4.3.4 at a tech’s recommendation fixed the issue.