A new topic, '2.0 RC3 - Mark Run and rollback', has been made on a board you 
are watching.

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

The text of the topic is shown below:

Hi Nathan,

I have this changeset:

Code:
    <changeSet id="test-mark-run" author="alexis">
        <preConditions onFail="MARK_RAN">
            <not>
                <tableExists tableName="test_table" />
            </not>            
        </preConditions>
        <createTable tableName="test_table">
            <column name="key" type="number" />
            <column name="value" type="varchar2(50)"/>
        </createTable>
    </changeSet>


If the table doesn't exist and I run the changeset, everything works well. 
After that I can run a rollbackCount=1 (or rollbackCountSQL=1) and I get the 
expected result.

But if the table is there and I mark the changeset as ran, the rollback doesn't 
work.

The same happens with the rest of things like, sql, sqlfile, etc... basically I 
have to manually change the exectype if I want to rollback.

Is this correct or should it rollback?

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.
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Liquibase-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/liquibase-user

Reply via email to