mardi 25 août 2015

Migration sqlite database when update app in cordova

I have an offline application version 0.0.1 using sqlite plugin on cordova installed in my android device. In this app, there is some offline data store in database. I have changed the schema of database in update version and I need to do migration to the old data.

Is it possible to do migration database when the app is overwritten with update version 0.0.2 in persistencejs? I have tried with persistencejs migration, but my offline data are gone.

Appreciate your help.

Aucun commentaire:

Enregistrer un commentaire