A new topic, 'Problem getting IndexExists preCondition to work', has been made 
on a board you are watching.

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

The text of the topic is shown below:

I am trying to use the "indexExists" precondition tag before dropping an index, 
and it's not working - liquibase is always reporting the index does not exist, 
even though it is present. This causes later changesets to fail because the 
index was not dropped.

e.g.
    <changeSet author="me" id="1">
        <preConditions onFail="MARK_RAN">
            <indexExists schemaName="${schemaName}" indexName="i_my_table_col"/>
        </preConditions>
        <dropIndex indexName="i_my_table_col" tableName="my_table"/>
    </changeSet>


I have used version 1.9.5 of Liquibase. Any suggestion what to do differently 
or how to debug?

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.
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Liquibase-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/liquibase-user

Reply via email to