Re: Problem with ERAttachmentMigration
Re: Problem with ERAttachmentMigration
- Subject: Re: Problem with ERAttachmentMigration
- From: Pascal Robert <email@hidden>
- Date: Thu, 29 Mar 2012 16:21:27 -0400
Le 2012-03-29 à 16:07, David Holt a écrit :
> You have these properties set?
>
> # Migrations
> er.migration.migrateAtStartup=true
> er.migration.createTablesIfNecessary=true
Yes, and migrations for the two other models works fine.
>
> On 2012-03-29, at 1:03 PM, Pascal Robert wrote:
>
>> I have a rather strange problem with ERAttachmentMigration: the ERAttachment table is not created, so when the linked table try to create the foreign key, it crash the migration. I have tried to do some debugging, and in ERXMigrator._buildDependenciesForModelsNamed, pendingModelNames and processedModelNames never have ERAttachement, I only see the two models in the project.
>>
>> I also tried to force it by using er.migration.modelNames with the three model names, no luck. Anyone have seen this?
>> _______________________________________________
>> 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
>
_______________________________________________
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