Hi,
I am using Liquibase (aml) and would like to include the <sqlFile> in <sqlCheck> in <preCondition>.
I would like to do something like this:
- <preConditions onFail="HALT">
- <not>
- <indexExists indexName="ux_uuid" tableName="test_table"/>
- </not>
- <sqlCheck expectedResult="0">
- <sqlFile path="my/path/file.sql" relativeToChangelogFile="true"/>
- </sqlCheck>
- </preConditions>
Is this possible or are there any workarounds?
Thanks