mardi 29 septembre 2015

iOS how to handle sqlite DB schema change in the next version of app [duplicate]

This question already has an answer here:

I have an app that has sqlite db and the app is installed in many devices.

Now I have a need to change the sqlite db schema i.e I am going to add some tables and change columns in existing table.

The apps that are already running has their DB in documents directory now how can I go about applying the new db changes.

Is there any call back method available that we can get after an app is updated..

so that I can handle the situation easily..

any help is appreciated

thanks

Aucun commentaire:

Enregistrer un commentaire