ERXMigraton and er.migration.skipModelNames
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