<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                   xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.5.xsd">
    <changeSet author="R3.Corda" id="add_consuming_tx_id_column">
        <preConditions onFail="MARK_RAN">
            <not>
                <columnExists tableName="vault_states" columnName="consuming_tx_id"/>
            </not>
        </preConditions>
        <addColumn tableName="vault_states">
            <column name="consuming_tx_id" type="NVARCHAR(144)"/>
        </addColumn>
    </changeSet>
</databaseChangeLog>