@classmethod
def sql_schema(cls, *args, **kwargs):
    """
        Generate the base table schema for the main GlycanRecord table.

        Parameters
        ----------
        inherits: dict
            Metadata extensions to include in the table schema

        Yields
        ------
        str:
            An SQL script block describing the GlycanRecord table. Descendants
            may yield additional statements.
        """
    ext_stmts = []
    meta_map = dict(cls.__column_data_map)
    meta_map.update(kwargs.get('inherits', {}))
    for name, type_transformer in meta_map.items():
        template = '{name} {type}\n'.format(name=name, type=type_transformer[0]
            )
        ext_stmts.append(template)
    ext_def = ', '.join(ext_stmts)
    if len(ext_def) > 0:
        ext_def = ', ' + ext_def
    schema = cls.__table_schema__.format(table_name=cls.table_name)
    schema = schema.replace('/*rest*/', ext_def)
    yield schema
