Automatic data migration across two revisions
Automatic data migration across two revisions
- Subject: Automatic data migration across two revisions
- From: Rick Mann <email@hidden>
- Date: Sun, 28 Sep 2014 22:21:27 -0700
The last time I change my Core Data schema, I had to write a custom mapping model and classes. The automatic migration was able to find this class and use it to migrate the data.
Now I've made a new change, and it's unable to migrate data from the old version to this latest version.
Does the migration proceed in stages? That is, does it migrate version 5 -> 7 by first migrating 5 -> 6 and then 6 -> 7? Or do I have to add yet another mapping model and classes to go from 5->7?
The change from 6->7 seems to be handled automatically without problems.
--
Rick Mann
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden