[symfony-users] one to many relation = 2 foreign keys?

2009-11-14 Thread D T
It seems when I create a one to many relation in my .yml schema, doctrine automatically mirrors the relation and creates a foreign key constraint in both tables. I only want one foreign key constraint (on the many side of course) otherwise the relation doesn't make sense. Why is this the default b

[symfony-users] Doctrine_Query with subquery issue

2009-09-27 Thread D T
the query string. Is this a bug or have I done something wrong here? I'm pretty sure the SQL logic here is correct. I ran it through the mysql command line and it worked fine. Any suggestiong would be appreciated. Thanks. D T --~--~-~--~~~---~--~~ You r