Skip to content

Commit 1795bd7

Browse files
committed
bug #9551 Quote “user” table in example code with backticks (msheakoski)
This PR was submitted for the master branch but it was merged into the 2.8 branch instead (closes #9551). Discussion ---------- Quote “user” table in example code with backticks Naming the table “user” without backtick quoting will trigger an error for anybody that copy/pastes the code because “USER” is a SQL reserved word. See #9541 for more details. Commits ------- 27efc38 Quote “user” table in example code with backticks
2 parents c873cfc + 27efc38 commit 1795bd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/guard_authentication.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ property they use to access their account via the API::
2727

2828
/**
2929
* @ORM\Entity
30-
* @ORM\Table(name="user")
30+
* @ORM\Table(name="`user`")
3131
*/
3232
class User implements UserInterface
3333
{

0 commit comments

Comments
 (0)