Re: core data migration - delete old store
Re: core data migration - delete old store
- Subject: Re: core data migration - delete old store
- From: Dave Fernandes <email@hidden>
- Date: Mon, 01 Aug 2011 00:18:36 -0400
I just found a strange thing on Lion: the backup~ file doesn't get produced with in-place lightweight migration. The same binary *does* create the backup~ file on Snow Leopard, though. Has anyone else noticed this?
On 2011-07-21, at 8:31 AM, Roland King wrote:
> I suppose I had to get to core data migration one day … :(
>
> I've read the documentation a couple of times and it says that the default migration process finishes by renaming the old store to the same thing with a tilde prefix. Does that mean you, the programmer, are responsible for deleting it again afterwards or is there a piece I've missed where eventually it does get cleaned up? I was thinking that if you use automatic migration, you don't even know when the store has been migrated and that you should thus go look for a tilde version and remove it. If that's the case I wondered how many apps have upgraded their core data stores and left the old one sitting there taking up the same amount of space. _______________________________________________
>
> 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