I've been programming PHP for years, but have just recently decided to delve into Drupal module writing. I'm using Drupal 7. I've written portions of the module, which creates its own content type, and have had it installed, can set configuration options, etc.
The problem is that when I make changes to any of the fields or field instances in my module file they don't actually change the module, even after clearing cache, installing, uninstalling, clearing cache, and installing again. I've written an uninstall hook to remove the fields, field instances, and node type, but it's like the uninstall never gets fired when I disable the module because the database still has the field structure after I uninstall it.
I even manually deleted the fields from the database, and then when I re-installed the module, the content type was there but all the fields were gone... like the installation hooks never even ran. Again, I clear cache constantly.
What am I missing? Any ideas?