prod_types can now be deleted (conditional) and fixed an error on upgrad...

Hey john, this should fix the upgrade issue, I would say you would have to restore the Db as it was before you started the upgrade