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

Re : PreConditions not working with outputfile

$
0
0
In updateSql mode the changelog-level preconditions should fire, but the changeSet level ones normally cannot. The reason for that is because if the previous changes are not actually executing it is unknown whether what they are checking actually corresponds to the "real" state of the database when the given change will be ran from the script.

There is a "onSqlOutput" attribute on  the preconditions tag that will control this, however. Setting it to TEST will make the precondition run, even in updateSql mode.

Nathan

Viewing all articles
Browse latest Browse all 2993

Trending Articles



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