<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" 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.1.xsd http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd">
    <property name="mediumtext" value="TEXT" dbms="postgresql" />
    <property name="mediumtext" value="MEDIUMTEXT" />
    <changeSet author="darren (generated)" id="dump1">
        <createIndex indexName="idx_label_key_value" tableName="label" unique="false">
            <column name="key"/>
            <column name="value"/>
        </createIndex>
    </changeSet>
</databaseChangeLog>

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" 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.1.xsd http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd">
    <property name="mediumtext" value="TEXT" dbms="postgresql" />
    <property name="mediumtext" value="MEDIUMTEXT" />
    <changeSet dbms="!mysql" author="darren (generated)" id="dump1">
        <validCheckSum>7:46c16c76490ce496b22a9faa6bf6db0c</validCheckSum>
        <createIndex indexName="idx_label_key_value" tableName="label" unique="false">
            <column name="key"/>
            <column name="value"/>
        </createIndex>
    </changeSet>
    <changeSet dbms="mysql" author="darren (generated)" id="dump1">
        <validCheckSum>7:46c16c76490ce496b22a9faa6bf6db0c</validCheckSum>
        <validCheckSum>7:435f414e3ee3bafb1de08adb404c7c68</validCheckSum>
        <sql>
CREATE INDEX idx_label_key_value ON label(`key`(255), `value`(255));
        </sql>
    </changeSet>
</databaseChangeLog>

Fix key length issue in newer MySQL and MariaDB
Fix key length issue in newer MySQL and MariaDB
