hehehe.. before posting the message I read the documentation you were talking about, after that I post it. I was thinking in a method called, _setForeignKeyDestination(ERXMigrationColumn foreignKeyDestination)

but I dunno if this is alright.

Gus...

PS the easyWay(Question q) method returns NoLearningException.
 ;P

On Oct 16, 2008, at 3:49 PM, David Avendasora wrote:

Of course, show him how to do things the _easy_ way.

sheesh.

:-P

Dave

On Oct 16, 2008, at 4:41 PM, David Holt wrote:

There is a button in EntityModeler that will create the Model0 for you. Do that and you will be able to see the correct code for future migrations.

David

<for_gus.jpg>

On 16-Oct-08, at 12:46 PM, WebObjects wrote:

Hello well I think My model its fine now, the FK are set as david told me... I don't know how I passed those ones, yesterday I had headache and didn't see the msitake.

Anyway, I have been looking into Migrations, due that I have done changes to the EOModel, and Im tired of changing the db directly.

I set the properties file, and now in my Migration class Im implementing the upgrade() method,

I create the EXRXMigrationTable, and now Im creating the columns, now how can I create or modify or specify the relationship this table has with another one?...



Regards
Gus


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

This email sent to [EMAIL PROTECTED]

Reply via email to