• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Handling Relationships trough migrations...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

JPEG image



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

  • Follow-Ups:
    • Re: Handling Relationships trough migrations...
      • From: David Avendasora <email@hidden>
References: 
 >Handling Relationships trough migrations... (From: WebObjects <email@hidden>)

  • Prev by Date: Re: Handling Relationships trough migrations...
  • Next by Date: Re: Handling Relationships trough migrations...
  • Previous by thread: Re: Handling Relationships trough migrations...
  • Next by thread: Re: Handling Relationships trough migrations...
  • Index(es):
    • Date
    • Thread