I have an app that uses a database. At startup I check to see if my tables are missing and if so I create them. Works great. I've noticed that if I "adb uninstall" then the next time I run my app the tables are created again (this is what I need), but what about when updating through the marketplace? I'm in the process of releasing an update, and I've made major changes to the tables. I'd like it if the tables were completely wiped and re-created, in fact my app needs this to happen. If someone updates and has the old tables then there will be a force close. Does anyone know the specifics of this scenario?
My tables are only for lookup, I store no user data so I dont really care about losing data on the updates. Of course I know an option is to use some type of "version" table and check to see if I need to manually drop and create, but I was wondering if that was even needed. Thanks.