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

Re : Do not create Databasechangelog and Databasechangeloglock tables?

$
0
0
Hi prabharhar,

not sure what you mean with "it is kind of utility sql". If you just want to fire sql to a database, liquibase might not be the right tool for you. liquibase is meant to manage database changes across multiple invocations and they can only be tracked with some kind of metadata.
This is why Liquibase uses the two tables. One to prevent duplicate invocations, the other to track already applied changeLogs (so they are not applied twice). What you can do is to rename the tables and even put them in another schema/catalog but I don't think it's possible to skip them entirely (or keep the info only in the filesystem).

If your DBA does not accept that your only way to go may be preparing a test database (that allows the liquibase tables) and give the DBA a cleaned up version of the liquibase generated sql (the command would then be updateSQL instead of update).

Hope this helps.

Daniel

Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>