I have an .sqlite file with multiple tables in my apps asset folder. In each update, structure and data in the DB change like added tables and modified columns in existing tables. I copy the db file from assets to storage and perform operations.
How can I change/recopy the updated database? Will the onUpgrade method of the SQLiteOpenHelper class be helpful to upgrade my database in existing users device?
Aucun commentaire:
Enregistrer un commentaire