def db_repair(name,
              table=None,
              **connection_args):
    '''
    Repairs the full database or just a given table