<?xml version="1.0" 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-2.0.xsd"
  logicalFilePath="db-changelog-000043.xml">

  <changeSet author="appian" id="tag-000042">
    <tagDatabase tag="000042"/>
  </changeSet>

  <changeSet author="appian" id="000043.0.0">
    <validCheckSum></validCheckSum>
    <preConditions onFail="MARK_RAN">
      <not>
        <or><dbms type="mysql"/><dbms type="mariadb"/></or>
      </not>
    </preConditions>
    <comment>Drop the old index for the FK external_sys_attr_usr_val.external_sys_attr_id</comment>
    <dropIndex indexName="extsys_attr_usrval_aid_fk_idx" tableName="external_sys_attr_usr_val" />
  </changeSet>

  <changeSet author="appian" id="000043.0.1">
    <validCheckSum></validCheckSum>
    <preConditions onFail="MARK_RAN">
      <not>
        <or><dbms type="mysql"/><dbms type="mariadb"/></or>
      </not>
    </preConditions>
    <comment>Create index for the FK external_sys_attr_usr_val.external_sys_attr_id</comment>
    <createIndex indexName="extsys_attr_usrval_aid_fk_idx" tableName="external_sys_attr_usr_val" unique="false">
      <column name="external_sys_attr_id"/>
    </createIndex>
  </changeSet>

</databaseChangeLog>
