I am implementing a change set in Liquibase
that requires several different prerequisites to be valid before it tries to execute.
Scenario # 1: If table A, B, C exists, mark how ran
Scenario # 2: If table X, Y, Z does not exist, terminate the change set
In other words, I need two <preConditions>
with different onFail
. Is this possible in liquibase? I can't seem to get it to work. docs are not very informative.
source share