I created my original app using Kivy for Python. Since then, I decided to port it over to Java and have re-built it in Android Studio. The app has an SQLite database that needs to be updated (new table, more entries, etc).
I saw the the onUpgrade()
function can be used to do this, but it looks like the way it works is that I have to specify the old database version and then specify the new one I am updating with.
However when creating the original version, I don't specify a database version.
How do I then update the SQLite database within the app? For this version, I'm more than happy to delete the old database and add in the new one as it's currently not using any data specific to the user.