Assuming you are using SQLite: use a new database with a different name for your update. At startup, check the table with the old name, copy the necessary data and delete it when you are done.
CoreData has its own update data, which may or may not work for you. You should see how to change the data model.
source
share