ant - How to generate sql file from Liquibase without DATABASECHANGELOG inserts? -


i have following problem : need produce migration file database in production. i'm using ant , following ant task :

<liquibase:updatedatabase changelogfile=db.changelog-master.xml" databaseref="oracle-database"  outputfile="out_ora.sql"  /> 

but file includes insert statements databasechangelog table. how can produce output file without statements ? (i wouldn't delete statements manually or script later).

you can use extension: https://github.com/liquibase/liquibase-nochangelogupdate

just add jar classpath , liquibase not output databasechangelog sql


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -