Add id as an AutoNumber(primary_key=True) field and remove the pk from