Hi all, first, thanks for the great tool!
I am generating a release script using ant database update and the outputFile attribute. The problem I have is ant is generating the script prefixing the schema name to all the commands.
e.g:
CREATE SEQUENCE UAT.hibernate_sequence;
http://www.liquibase.org/documentation/ant/updatedatabase_ant_task.html
I am trying to set the
It looks like it didn’t make it to the ant scripts yet. I created https://liquibase.jira.com/browse/CORE-1758 to track the problem.
However, the outputDefaultSchema flag is just used in generating the changelog from an existing database. If you don’t want to hard-code the schema, you can strip out the catalogName and schemaName attributes with a search/replace.
Once they are out of the changelog file, the generated SQL will not have them specified.
Nathan
Thanks Nathan, I’ll do the find and replace.
Pull request for adding the flags to the ant task.
https://github.com/liquibase/liquibase/pull/242
Thanks, I’ll take a look at the pull request.
Nathan