• 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
Re: Automatic data migration across two revisions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automatic data migration across two revisions


  • Subject: Re: Automatic data migration across two revisions
  • From: Jerry Krinock <email@hidden>
  • Date: Sun, 28 Sep 2014 23:01:56 -0700

> On 2014 Sep 28, at 22:21, Rick Mann <email@hidden> wrote:
>
> Does the migration proceed in stages? That is, does it migrate version 5 -> 7 by first migrating 5 -> 6 and then 6 -> 7?

No.

>  Or do I have to add yet another mapping model and classes to go from 5->7?

Yes, or add your own code to do what you expect, which has been called "Sequential Migrations”.  There is a class (SSYPersistentDocumentMultiMigrator) on my github.com repo which I wrote to do this a few years ago, and I also read somewhere that Sequential Migrations are covered in Marcus Zarra’s book.


_______________________________________________

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


References: 
 >Automatic data migration across two revisions (From: Rick Mann <email@hidden>)

  • Prev by Date: Automatic data migration across two revisions
  • Next by Date: Re: -[NSTabView mouseDown:] blows stack in Yosemite SDK
  • Previous by thread: Automatic data migration across two revisions
  • Next by thread: Deferred purchase testing in the App Store sandbox?
  • Index(es):
    • Date
    • Thread