I've trying to make a simple module that creates a node-type and adds a few custom fields to it with the Field API.
The module installs just fine. After changing some things in my hook_install_fields, I disabled the module and uninstalled. When I try to re-enable the module, drush prompts me that one of the fields already exists and is active. My problem is that hook_uninstall doesn't seem to be deleting the fields from the database. If I manually delete the field tables from the database, I'm able to re-enable the module without error.
Can anyone point me in the right direction on this?