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

sqlFile in sqlCheck

$
0
0
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:

  1. <preConditions onFail="HALT">
  2. <not>
  3. <indexExists indexName="ux_uuid" tableName="test_table"/>
  4. </not>
  5. <sqlCheck expectedResult="0">
  6. <sqlFile path="my/path/file.sql" relativeToChangelogFile="true"/>
  7. </sqlCheck>
  8. </preConditions>

Is this possible or are there any workarounds?

Thanks

Viewing all articles
Browse latest Browse all 2993

Trending Articles



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