def __init__(self, db):
        idtable.IdTable.__init__(self, db, "Flavors", "flavorId", "flavor")
        cu = db.cursor()
        cu.execute("SELECT FlavorID from Flavors")
        if cu.fetchone() == None:
            # reserve flavor 0 for "no flavor information"
            cu.execute("INSERT INTO Flavors (flavorId, flavor) VALUES (0, NULL)")