<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog
        xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
        xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-2.0.xsd">

    <changeSet author="cpape" id="33.0.3-node_metadata-index">
        <createIndex tableName="node_metadata" indexName="node_metadata_refid_idx" associatedWith="foreignKey" unique="false">
            <column name="id" />
        </createIndex>
    </changeSet>

    <changeSet author="cpape" id="33.0.3-ipinterface_metadata-index">
        <createIndex tableName="ipinterface_metadata" indexName="ipinterface_metadata_refid_idx" associatedWith="foreignKey" unique="false">
            <column name="id" />
        </createIndex>
    </changeSet>

    <changeSet author="cpape" id="33.0.3-ifservices_metadata-index">
        <createIndex tableName="ifservices_metadata" indexName="ifservices_metadata_refid_idx" associatedWith="foreignKey" unique="false">
            <column name="id" />
        </createIndex>
    </changeSet>

    <changeSet author="cpape" id="33.0.3-assets-userlastmodified">
        <modifyDataType tableName="assets" columnName="userlastmodified" newDataType="varchar(256)"/>
    </changeSet>

    <changeSet author="cgorantla" id="33.0.3-snmpinterface_nodeid_ifname-index">
        <createIndex tableName="snmpinterface" indexName="snmpinterface_nodeid_ifname_idx" unique="false">
            <column name="nodeid" />
            <column name="snmpifname" />
        </createIndex>
    </changeSet>
</databaseChangeLog>
