• 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: Preparing for MOM versioning in version 1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preparing for MOM versioning in version 1


  • Subject: Re: Preparing for MOM versioning in version 1
  • From: Volker in Lists <email@hidden>
  • Date: Mon, 26 Oct 2009 17:29:35 +0100

Hi Fritz,

I have it running that way in one of my applications. The user base is small (< 50 users), so I might not have yet had the chance to discover magic not happening. I also invested a lot of time in the model process, to avoid too many changes.

My changes, that worked well, included addition of new properties/ fields. No changes to relationships so far. These will be harder I guess.

I also have a manual upgrade process for older version files - still dating back to 10.4. The manual migration isn't too hard if you can't rely on the automagic process.

Hth,

Volker

Am 26.10.2009 um 17:00 schrieb Fritz Anderson:

I'm about to unleash a Core Data-based application, and I'm sure the schema will change in later versions. The Core Data Model Versioning and Data Migration Programming Guide seems to say that migrating a store from one version to another, at least in simple cases, is magical: The application embeds the historical MOMs, with one of them marked "current," and when a store built to an earlier model is opened, it is (in SIMPLE cases) migrated to the current model.

Is this the case?

In that event, is it necessary to do anything at all (other, perhaps, than attaching a version string for human consumption) in version 1 to prepare for migration?

	— F

_______________________________________________

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

_______________________________________________

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: 
 >Preparing for MOM versioning in version 1 (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Preparing for MOM versioning in version 1
  • Next by Date: Re: Make a solid line look like 3D
  • Previous by thread: Preparing for MOM versioning in version 1
  • Next by thread: Re: Preparing for MOM versioning in version 1
  • Index(es):
    • Date
    • Thread