def make_table_definition(name, depends_on=[]):
    """Creates a table definition for use with the controller's add_table method"""
    definition = {
        'tablename': name,
        'coldef_list': [
            (f'{name}_id', 'INTEGER PRIMARY KEY'),
            ('meta_labeler_id', 'INTEGER NOT NULL'),
            ('indexer_id', 'INTEGER NOT NULL'),
            ('config_id', 'INTEGER DEFAULT 0'),
            ('data', 'TEXT'),
        ],
        'docstr': f'docstr for {name}',
        'superkeys': [
            ('meta_labeler_id', 'indexer_id', 'config_id'),
        ],
        'dependson': depends_on,
    }
    return definition