hi,
I am a relative newbie to using sequel - please be kind.

I have already gone through a previous post on a related topic:
http://groups.google.com/group/sequel-talk/browse_thread/thread/3deb418cd40ef529/cc05622a26377a25?lnk=gst&q=pfk#cc05622a26377a25

I am inheriting a legacy app that has MyISAM tables which use Foreign
Primary Key (or Primary Foreign Key..). For example, table Main has an
auto-increment primary key called "id" and table Derived has a primary
key called "id" which is a foreign key (remember... MyISAM) into Main.
Yes, Main and Derived are of the same size.

Now, I need to create new Main and Derived records - I am not sure how
to add Derived as an association to Main, such that Derived's primary
key becomes Main's foreign key. I tried adding a one_to_one, but no
help.


Could someone help please ?

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.

Reply via email to