[android-developers] Upgrading Database from Assets
Hello,
I have an app that contains a database that is read from the assets
folder the first time the app is run. This works perfectly. My issue
is that my database has changed since the last release (i have changed
the table structure around) I put the new version of my db file in the
assets folder and changed the db version number to be one higher so
that my SQLiteOpenHelper onUpgrade method gets called (this is where I
alter the tables). Unfortunately this never happens my onUpgrade never
gets called when I change the db version number and I have no idea
why.
If anyone has any suggestions that would be great.
Thanks,
Petar K.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home