Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

Ant- update database outputDefaultSchema property

$
0
0
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 defaultSchemaName to empty or null but the scripts are still incorrect.
CREATE SEQUENCE .hibernate_sequence;
or 
CREATE SEQUENCE null.hibernate_sequence;

The maven version of liquibase update has the outputDefaultSchema flag attribute. 

Do you have something similar for ant scripts?
Thanks
Fernando


Viewing all articles
Browse latest Browse all 2993

Trending Articles