I have an iOS app on App Store that utilized Data Core with SQLite engine. The updated version that I plan to update needed to add several more attributes (fields) to an entity (table). What is the simplest way to handle this without losing data on already existing SQLite database?
Asked
Active
Viewed 539 times
1 Answers
2
The way to do this is with what's called a "Core Data Migration".
Here's the Core Data Model Versioning and Data Migration Programming Guide
Also, some initial posts:

Community
- 1
- 1

Max MacLeod
- 26,115
- 13
- 104
- 132