<?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="1511451595465-1.1" dbms="h2">
        <preConditions onFail="MARK_RAN" onSqlOutput="TEST">
            <not><sequenceExists sequenceName="hibernate_sequence"/></not>
        </preConditions>
        <createSequence sequenceName="hibernate_sequence"/>
    </changeSet>

    <changeSet author="R3.Corda" id="1511451595465-1.3" onValidationFail="MARK_RAN" dbms="postgresql,mssql">
        <preConditions onFail="MARK_RAN" onSqlOutput="TEST">
            <not><sequenceExists sequenceName="hibernate_sequence"/></not>
        </preConditions>
        <createSequence sequenceName="hibernate_sequence" minValue="1"/>
    </changeSet>

</databaseChangeLog>
