[symfony-users] Re: Doctrine I18N, One-to-One relations

2009-04-09 Thread FlyLM [ML]
2009/4/9 Jonathan Wage : > You cannot add the relationship to the I18n model from the yaml. You will > need to add the relationship with php code. The yaml schema builds the > opposite end of the relationship by finding the model in the yaml and adding > the relationship to it. In this case the I1

[symfony-users] Re: Doctrine I18N, One-to-One relations

2009-04-09 Thread Jonathan Wage
You cannot add the relationship to the I18n model from the yaml. You will need to add the relationship with php code. The yaml schema builds the opposite end of the relationship by finding the model in the yaml and adding the relationship to it. In this case the I18n model doesn't exist in the yaml

[symfony-users] Re: Doctrine I18N, One-to-One relations

2009-04-09 Thread FlyLM [ML]
2009/4/8 FlyLM [ML] : > 2009/4/8 FlyLM [ML] : >> Hello, >> >> I have started my first "real" project with Symfony and I've some >> problems and questions. >> >> 1) I use Doctrine as ORM and I18N Behavior in my "schema.yml" file to >> declare localized fields. >> >> "Localized" tables were generate

[symfony-users] Re: Doctrine I18N, One-to-One relations

2009-04-08 Thread FlyLM [ML]
2009/4/8 FlyLM [ML] : > Hello, > > I have started my first "real" project with Symfony and I've some > problems and questions. > > 1) I use Doctrine as ORM and I18N Behavior in my "schema.yml" file to > declare localized fields. > > "Localized" tables were generated with a columns named "lang". I