@classmethod
def add_index(cls, *args, **kwargs):
    """
        Generate the base table's indices for fast search

        Yields
        ------
        str:
            The SQL script block describing the mass_index of the GlycanRecord table
        """
    yield 'CREATE INDEX IF NOT EXISTS mass_index ON {table_name}(mass DESC);'.format(
        table_name=cls.table_name)
    for index in cls._collect_ext_indices(kwargs.get('inherits', {})):
        yield index
