Hi all,
I'm trying to create a YAML schema from an existing PostgreSQL
database and wondering why what
I consider to be a on-to-one relation results in asymmetric one-to-one
and one-to-many.
The structure is two tables: A and B where A.id is a primary key and
B.id is a primary key *and*
referencing A.id.
Doctrine lists A as having type:many relation to B and B as having
type:one relation to A.
In reality there's no way A can have multiple B as there's a primary
key on B.id.
This can be derived looking at tables definition.
So my question is: is this misinterpretation a bug or limitation or ?
Unfortunately I've no idea which version of doctrine I'm using. I'm
using it trough symfony 1.2.9.
Hope I've been clear, and thanks all developers for this good cake.
--strk;