[symfony-users] Doctrine support for composite fk/pk?

2010-07-16 Thread Etienne Michon
Hello! I have the same problem described here : http://trac.doctrine-project.org/ticket/460 and I'm trying to do something to bypass this doctrine non-support for composite key relations. Does anyone have an idea on how to do that? Should I create my table without any relation and then do my reques

Re: [symfony-users] Re: Problem while loading fixture with the plugin sfDoctrineGuardPlugin

2010-05-13 Thread Etienne Michon
Yeah maybe. I will try it tomorrow 'cause I'm not at work today. Thanks for your help On Thu, May 13, 2010 at 09:56, Tom Ptacnik wrote: > I think, it's because ./symfony doctrine:data-load don't delete > existing data. Then if you run it, the sfGuardUser_admin with username > admin already exist

Re: [symfony-users] Problem while loading fixture with the plugin sfDoctrineGuardPlugin

2010-05-12 Thread Etienne Michon
Hi, Thanks for your help. Unfortunately, I checked and it still doesn't work. The BasesfGuardUserGroup class has two relations sfGuardUser and sfGuardGroup. The plugin work well because my fixture load when I insert them with the command "./symfony doctrine:build --all --and-load --no-confirmation"

Re: [symfony-users] Problem while loading fixture with the plugin sfDoctrineGuardPlugin

2010-05-12 Thread Etienne Michon
It doesn't work neither. I checked in the schema.yml of the plugin and here is the definition of these 3 tables: -- sfGuardGroup: actAs: [Timestampable] columns: id: type: integer(4) primary: true