I’ve looking at the problem and I’ve seen that Liquibase diff reporter already puts the schema if it’s specified in defaultSchemaName.
Then no option is aparently needed.
Althouth I don’t now if it’s good to depend in defaultSchemaName because it seems coincidental because the schema is first read from metadata and then assigned another time with the one provided in defaultSchemaName (It seems a try to correct the fact that some dbms like mysql never return the schema in metadata)
Also I’ve take a look at why foreign keys to external schemas aren’t detected and for me seems that two conditions in JdbcDatabaseSnapshotGenerator.readForeignKeyInformation are changed:
The one that compares if (pkTable == null) discards the foreign key and the one that compares (fkTable == null) preserves the fk with a warning saying that the fk is preserved but the table won’t be diffed.
It seems that the conditions are turned, aren’t they?