• 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
ERXMigraton and er.migration.skipModelNames
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ERXMigraton and er.migration.skipModelNames


  • Subject: ERXMigraton and er.migration.skipModelNames
  • From: Larry Mills-Gahl <email@hidden>
  • Date: Thu, 22 Jan 2015 23:02:15 -0500

I am removing a model from the defaultModelGroup in the principal class of my model framework because I’m using that model for multi-tennant data.

I’ve confirmed that modelNames and skipModelNames is getting passed to ...
	protected Map<IERXMigration, ERXModelVersion> _buildDependenciesForModelsNamed(NSArray<String> modelNames, NSArray<String> skipModelNames)

... as expected but it keeps trying to migrate the model in skipModelNames.

Can I use migrations if I have the models separated like this or do I need to do this in a more manual fashion? ERXMigrator is using EOModelGroup.defaultGroup() but it appears it’s getting the default group before the principal class is initialized.

Does anybody have any insight about what is going wrong here (and why that model just can’t wait for it’s own migration)?


Larry Mills-Gahl
email@hidden







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

This email sent to email@hidden


  • Prev by Date: Re: Model/DB synchronization (was: Migrations (was: ERXSQLHelper))
  • Next by Date: Re: D2w - toMany relation
  • Previous by thread: Re: need a popup button with categories
  • Next by thread: AjaxModalContainer
  • Index(es):
    • Date
    • Thread