How do you update the database every time there is a fresh install/reinstall?
Looked in the docs, can't find anything - so what ends up happening, if I have changed my models, I will get a SQLlite error upon a fresh update.
Thanks
I think you can use :
Titanium.App.version
It will give you app version(Store it), at the time of initialization of your app check the current version.If it does not matches the one you have stored, just delete and recreate the database.
check out the Documentation here. Hope it helps.