Re: Handling Relationships trough migrations...
Re: Handling Relationships trough migrations...
- Subject: Re: Handling Relationships trough migrations...
- From: David Holt <email@hidden>
- Date: Thu, 16 Oct 2008 13:41:53 -0700
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
Attachment:
for_gus.jpg
Description: application/applefile
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@hidden)
Help/Unsubscribe/Update your Subscription:
@mac.com
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