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 protected])
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
>> 
>> This email sent to [email protected]
> 


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to