Hi All,
In my apps next release I need to add some fields to a table in an SQLite database. This is not a problem but I will have to migrate some data using the new fields. This could take up to a minute.
My question is, where is the best place to do this? At the moment I am checking the database in my main activity create. Adding the new fields and migrating the data. I tried using sql.begintransaction and sql.endtransaction but these do no seem to commit the changes.
Any ideas?
In my apps next release I need to add some fields to a table in an SQLite database. This is not a problem but I will have to migrate some data using the new fields. This could take up to a minute.
My question is, where is the best place to do this? At the moment I am checking the database in my main activity create. Adding the new fields and migrating the data. I tried using sql.begintransaction and sql.endtransaction but these do no seem to commit the changes.
Any ideas?