• 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: CoreData issue when updating a file format
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreData issue when updating a file format


  • Subject: Re: CoreData issue when updating a file format
  • From: Jim Correia <email@hidden>
  • Date: Fri, 6 May 2005 16:07:28 -0400

On May 6, 2005, at 1:12 PM, mmalcolm crawford wrote:

On May 6, 2005, at 8:27 AM, Bruno Blondeau wrote:

I'm trying to open a CoreData/SQLite document which was saved with a v1 model. I'm getting an error, while it is working fine with the XML data store (which automatically adds the needed columns for the v2 model).

File formats are not backwards compatible. If you change the schema (model), you cannot read old files.

Is there a capsule summary of how this situation should be handled?

What happens if version 2 of an app adds a new field? New relationships? New entities? What steps need to be taken so that old files can be read and "upgraded" to the new format?

Thanks,
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: CoreData issue when updating a file format
      • From: mmalcolm crawford <email@hidden>
    • Re: CoreData issue when updating a file format
      • From: John Timmer <email@hidden>
References: 
 >CoreData issue when updating a file format (From: Bruno Blondeau <email@hidden>)
 >Re: CoreData issue when updating a file format (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: Binding on an NSTextField
  • Next by Date: Re: NSTextView drawing background
  • Previous by thread: Re: CoreData issue when updating a file format
  • Next by thread: Re: CoreData issue when updating a file format
  • Index(es):
    • Date
    • Thread