function createAddIndexMigration(table, columns) {
    return createTransactionalMigration(
        async function up(knex) {
            await commands.addIndex(table, columns, knex);
        },
        async function down(knex) {
            await commands.dropIndex(table, columns, knex);
        }
    );
}
@param {string} table
@param {string[]|string} columns One or multiple columns (in case the index should be for multiple columns)
@returns {Migration}