I have an incomplete application, but now I want to move on to its future update.
Suppose my application has been updated, so when it starts, it detects that the database schema is out of date. Therefore, for each table, it is necessary to update the new scheme in accordance with the version number while saving all the data.
I read somewhere that on Android in the SQLite database there is a version number and material for automatic updates, but I did not find an example for this specific problem.
How can this be done in an Android application using SQLite databases?
Is there a specific version number for the table stored in the Android SQLite database? If so, how can I read and use it for my purpose?
android database sqlite upgrade
Pentium10
source share