Re: Updating Mapping Model after changing schema
Re: Updating Mapping Model after changing schema
- Subject: Re: Updating Mapping Model after changing schema
- From: Sean McBride <email@hidden>
- Date: Thu, 26 Feb 2015 20:09:07 -0500
- Organization: Rogue Research Inc.
On Thu, 26 Feb 2015 17:00:49 -0800, Rick Mann said:
>A problem I run into a lot with automatic migration using a Mapping
>Model is that I'm usually in the process of making incremental changes
>to my schema. So I create a Mapping Model, modify it as necessary, and
>things are fine.
>
>But then if I change the schema again, that Mapping Model is not found.
>In this case, I added some optional attributes to an Entity, and so the
>Mapping Model no longer matches.
>
>But if I try to add attribute mappings for those new attributes, I
>can't. The Mapping Model editor only lets me choose from a set of
>destination attributes, and it doesn't show any of the new ones.
>
>I can create a new Mapping Model that picks those up, but then I lose
>the customizations I've done, which can be quite tedious and error-prone
>to reproduce.
>
>Does anyone have a solution for this? TIA,
Xcode menu bar: Editor > Refresh Data Models. Or maybe I misunderstand what you want...
Cheers,
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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