How to create composite index in liquibase

For me that solution didn't work. It created separate indexes on the fields.

Instead of that, I'm using this approach, comma separating the columns:

    <addPrimaryKey tableName="test" columnNames="value0,value1"/>

Tested on MySQL 5.7 with liquibase 3.5.5


I'd be amazed if:

<createIndex indexName="idx_value"
             tableName="test">
    <column name="value" type="varchar(255)"/>
    <column name="othercolumn" type="varchar(255)"/>
</createIndex>

didn't work...