Skip to content

Commit

Permalink
Add backticks to table name
Browse files Browse the repository at this point in the history
In postgres the table user has a reserved meaning, so we need to add backticks to the table name so that doctrine is able to add quotes to the table name. See #77 and doctrine/dbal#572 for some related issues
  • Loading branch information
marcosh committed May 20, 2015
1 parent 90442b1 commit 664933a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">

<entity name="ZfcUserDoctrineORM\Entity\User" table="user">
<entity name="ZfcUserDoctrineORM\Entity\User" table="`user`">

</entity>

Expand Down

0 comments on commit 664933a

Please sign in to comment.