Discussion:
[Liquibase-user] New Topic: preCondition onFail="CONTINUE"
Liquibase Community Forum
2010-11-30 02:42:35 UTC
Permalink
A new topic, 'preCondition onFail="CONTINUE"', has been made on a board you are watching.

You can see it at
http://liquibase.org/forum/index.php?topic=807.new#new

The text of the topic is shown below:

I am using 2.0 RC7 and have a precondition
<preConditions onFail="CONTINUE">
<sqlCheck expectedResult="1">

on the command line I see

INFO: Continuing past: db-changes.xml::1::jason::(Checksum: 3:add56c0785f0c14a28c33161f288694b) despite precondition failure:
1 preconditions failed
db-changes.xml : SQL Precondition failed. Expected '1' got '0'

but it still runs my changes. I thought continue means skip and the next time I run it check again and see if it has become true.

Am I missing something?

Unsubscribe to new topics from this board by clicking here: http://liquibase.org/forum/index.php?action=notifyboard;board=1.0

Regards,
The Liquibase Community Forum Team.

Loading...