migrate/ update core data app without erasing user data!
Posted
by treasure
on Stack Overflow
See other posts from Stack Overflow
or by treasure
Published on 2010-05-01T16:32:25Z
Indexed on
2010/05/01
16:37 UTC
Read the original article
Hit count: 171
hello, i have a very complicated problem that i would like to share with you and maybe someone can answer it for me. before i start i have to say that i am very new in this.
So, i have a coredata iphone app (much like the recipes app) that uses a pre-populated sql database. The user can add/edit his own data but the default data cannot be deleted. the useres data are ALL saved in the same sql database.
QUESTION: what do i have to do in order to: - update some (not all) of the default data that are stored in the sql database without "touching" the user's data? (the model will stay the same - no new entities etc-) (if the user uninstall the app and then reinstall the new version everything will be ok but i dont want to do this, obviously).
can someone PLEASE help in coding level?
© Stack Overflow or respective owner