My changeSet looks like this:
select count(*) from TABLE_1 where COL_NAME=’${param}’ </sqlCheck
DELETE FROM TABLE1;
My precondition always fails and the changeSet never gets executed.
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Is changeSetExecuted supported in sql changelog files? | 1 | 78 | December 6, 2024 | |
| Preconditions: is it deliberate that they can only check database snapshot state? | 3 | 394 | June 14, 2013 | |
| [Liquibase 2.0 rc7] - ChangeSet preconditions with dbms check are not validated | 5 | 952 | October 20, 2010 | |
| Preconditions always true | 0 | 8 | June 3, 2026 | |
| Precondition issues | 1 | 1042 | March 8, 2011 |