def _get_portable_table_indexes_list(self, table_indexes, table_name):
        new = []
        for v in table_indexes:
            v = dict((k.lower(), value) for k, value in v.items())
            if v['key_name'] == 'PRIMARY':
                v['primary'] = True
            else:
                v['primary'] = False

            if v['index_type'] in 'FULLTEXT':
                v['flags'] = {'FULLTEXT': True}
            else:
                v['flags'] = {'SPATIAL': True}
                
            new.append(v)
            
        return super(MySQLSchemaManager, self)._get_portable_table_indexes_list(new, table_name)
dataset/ETHPy150Open sdispater/orator/orator/dbal/mysql_schema_manager.py/MySQLSchemaManager._get_portable_table_indexes_list/swapped operands of `in`