2

I am currently managing updates in my app with respect to the SQLite DB.

What happens if a user misses an update in the app store and try to update to the latest version.

e.g. user has v1, skips v2 update then chooses to update to v3.

Should I keep all the update scripts and then iterate through them e.g. v2 and v3 instead of just v3?

Has anybody been doing this?

1 Answer 1

5

What you're trying to achieve is "database migrations". Yes, you should keep track of every possible migration and do not assume that user will have consequent incremental updates of your application.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.