Browse files

ZfcUser maps $id to the column "user_id". ZfcUserDoctrineORM should d…

…o the same.
  • Loading branch information...
1 parent c9bde88 commit 1d67d369733d5b2c81c57c54f95cf6456547c986 @Danielss89 Danielss89 committed Jul 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 config/xml/zfcuser/ZfcUser.Entity.User.dcm.xml
2 config/xml/zfcuser/ZfcUser.Entity.User.dcm.xml
@@ -6,7 +6,7 @@
<mapped-superclass name="ZfcUser\Entity\User" table="user">
- <id name="id" type="integer" column="id">
+ <id name="id" type="integer" column="user_id">
<generator strategy="AUTO" />

1 comment on commit 1d67d36

ZF-Commons member

I was going to change that. This is wrong to my opinion, as Doctrine assume that the relationship have the name "id" when doing joins. Can this be reverted please ?

Please sign in to comment.