Here are the tables involved:

CREATE TABLE club      (id serial PRIMARY KEY, name text);
CREATE TABLE person  (id serial PRIMARY KEY, name text);
CREATE TABLE position (id serial PRIMARY KEY, name text);

CREATE TABLE company_person_map (
   club            integer not null REFERENCES club (id),
   person_id    integer not null REFERENCES person (id),
   position_id   integer not null REFERENCES position (id),
);


When I use Loader to build my classes CompanyPersonMap.pm
has all of the appropriate columns but only has the
foreign keys for company and person.  How can I coerce the
addition of the 3rd foreign key?

Is there anyway to do it without manually adding it?

-- 

Clayton Scott
[EMAIL PROTECTED]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to