• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Automatic data migration across two revisions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Automatic data migration across two revisions
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Re: -[NSTabView mouseDown:] blows stack in Yosemite SDK
  • Next by Date: Re: Automatic data migration across two revisions
  • Previous by thread: Re: -[NSTabView mouseDown:] blows stack in Yosemite SDK
  • Next by thread: Re: Automatic data migration across two revisions
  • Index(es):
    • Date
    • Thread