“There is already an object named ‘AttributeTypes’ in the database” during CRM 4.0 Upgrade

I received this error message during the CRM 4.0 Upgrade:

“There is already an object named ‘AttributeTypes’ in the database”

It turns out that this error message is poorly designed and doesnt describe the actual cause of the error which was the ftcat_documentindex issue discussed here:

http://blog.kazmarek.com/2008/03/11/full-text-index-inconsistency-when-upgrading-to-crm-40/