Rename a table in the database
    :param dbconn: database connection
    :param original: original table name
    :param new: new table name

def rename_table(dbconn, original, new):
    """
    Rename a table in the database
    :param dbconn: database connection
    :param original: original table name
    :param new: new table name
    """
    cur = dbconn.cursor()
    cur.execute("ALTER TABLE '{original}' RENAME TO '{new}'".format(original=original, new=new))