<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                   xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
                   xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.5.xsd">
    <changeSet author="dataset" id="DROP NOT NULL CONSTRAINT FOR FIELD ORDERING">
        <preConditions onError="WARN" onFail="MARK_RAN">
            <sqlCheck expectedResult="0">
                SELECT COUNT(*) FROM public.databasechangelog WHERE md5sum = '8:d81fedcdabf9181deffbc5bafab447bc'
            </sqlCheck>
        </preConditions>
        <dropNotNullConstraint
                               columnDataType="INTEGER"
                               columnName="ORDERING"
                               tableName="ATTRIBUTE"/>
    </changeSet>
</databaseChangeLog>
