Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…o the same.
  • Loading branch information...
commit 1d67d369733d5b2c81c57c54f95cf6456547c986 1 parent c9bde88
@Danielss89 Danielss89 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  config/xml/zfcuser/ZfcUser.Entity.User.dcm.xml
View
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" />
</id>

1 comment on commit 1d67d36

@bakura10

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.
Something went wrong with that request. Please try again.