code: function findIndexes (pgIndexes, schemaName, tableName) {
    return pgIndexes
      .filter(index => index.table_name === `${schemaName}.${tableName}`)
      .filter(index => !index.is_primary)
      .reduce((indexes, index) => {
        indexes[index.index_name] = {
          columns: [
            index.index_keys
          ],
          unique: index.is_unique,
          method: index.method
        }
        return indexes
      },
      {}
      )
  }
docs: findColumns