Re: [symfony-users] Need to explicitly tell Doctrine which column to use in leftJoin when I have two joins from one table to another

2011-05-07 Thread Donald Tyler
Your relation names need to be unique: peer_request: columns: person_id: { type: integer, notnull: true } peer_id: { type: integer, notnull: true } relations: person:{ local: person_id, foreign: id } *peer*: { local: peer_id, foreign:

[symfony-users] Need to explicitly tell Doctrine which column to use in leftJoin when I have two joins from one table to another

2011-05-07 Thread dmitrypol
I am building an app using Symfony 1.4.11 and Doctrine 1.2.4. I have 2 tables - person and peer_request. Person has the usual name, address, email, etc. peer_request: columns: person_id: { type: integer, notnull: true } peer_id: { type: integer, notnull: true }