Displaying 1 result from an estimated 1 matches for "alpha_beta".
2007 Jun 21
11
one-to-one, compound primary key, naming conventions
My understanding is that, given tables Alpha and Beta that the table
which holds the 1-to-1 relation will be called Alpha_Beta (or is it
alpha_beta?). So far so good.
alpha_beta will have, lets say, two fields: alpha_id and beta_id. Seems
that it''d be a good idea for those two fields to form a compound primary
key, ensuring there are no duplicates.
However, RoR doesn''t support compound primary key...